Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d8224118
Commit
d8224118
authored
May 23, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
May 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d: Make the INTZ test more reliable.
parent
dbd87863
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
25 deletions
+25
-25
visual.c
dlls/d3d8/tests/visual.c
+12
-12
visual.c
dlls/d3d9/tests/visual.c
+13
-13
No files found.
dlls/d3d8/tests/visual.c
View file @
d8224118
...
...
@@ -1706,10 +1706,10 @@ static void intz_test(IDirect3DDevice8 *device)
}
quad
[]
=
{
{
-
1
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
0
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
0
f
},
{
-
1
.
0
f
,
-
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
},
{
1
.
0
f
,
-
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
},
{
-
1
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
5
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
5
f
},
{
-
1
.
0
f
,
-
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
5
f
},
{
1
.
0
f
,
-
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
5
f
},
};
struct
{
...
...
@@ -1718,14 +1718,14 @@ static void intz_test(IDirect3DDevice8 *device)
}
expected_colors
[]
=
{
{
400
,
60
,
D3DCOLOR_ARGB
(
0x00
,
0x9f
,
0xff
,
0x00
)},
{
560
,
180
,
D3DCOLOR_ARGB
(
0x00
,
0xdf
,
0x55
,
0x00
)},
{
560
,
300
,
D3DCOLOR_ARGB
(
0x00
,
0xdf
,
0x66
,
0x00
)},
{
400
,
420
,
D3DCOLOR_ARGB
(
0x00
,
0x9f
,
0xb6
,
0x00
)},
{
240
,
420
,
D3DCOLOR_ARGB
(
0x00
,
0x60
,
0x6d
,
0x00
)},
{
80
,
300
,
D3DCOLOR_ARGB
(
0x00
,
0x20
,
0x33
,
0x00
)},
{
80
,
180
,
D3DCOLOR_ARGB
(
0x00
,
0x20
,
0x55
,
0x00
)},
{
240
,
60
,
D3DCOLOR_ARGB
(
0x00
,
0x60
,
0xf
f
,
0x00
)},
{
80
,
100
,
D3DCOLOR_ARGB
(
0x00
,
0x20
,
0x40
,
0x00
)},
{
240
,
100
,
D3DCOLOR_ARGB
(
0x00
,
0x60
,
0xbf
,
0x00
)},
{
400
,
100
,
D3DCOLOR_ARGB
(
0x00
,
0x9f
,
0x40
,
0x00
)},
{
560
,
100
,
D3DCOLOR_ARGB
(
0x00
,
0xdf
,
0xbf
,
0x00
)},
{
80
,
450
,
D3DCOLOR_ARGB
(
0x00
,
0x20
,
0x40
,
0x00
)},
{
240
,
450
,
D3DCOLOR_ARGB
(
0x00
,
0x60
,
0xbf
,
0x00
)},
{
400
,
450
,
D3DCOLOR_ARGB
(
0x00
,
0x9f
,
0x40
,
0x00
)},
{
560
,
450
,
D3DCOLOR_ARGB
(
0x00
,
0xdf
,
0xb
f
,
0x00
)},
};
IDirect3DSurface8
*
original_ds
,
*
original_rt
,
*
rt
;
...
...
dlls/d3d9/tests/visual.c
View file @
d8224118
...
...
@@ -11099,7 +11099,7 @@ static void intz_test(IDirect3DDevice9 *device)
0x02000001
,
0x80010001
,
0x80e40000
,
/* mov r1.x, r0 */
0x03010042
,
0x800f0000
,
0xb0e40000
,
0xa0e40800
,
/* texldp r0, t0, s0 */
0x02000001
,
0x80020001
,
0x80000000
,
/* mov r1.y, r0.x */
0x02000001
,
0x800f0800
,
0x80e40001
,
/* mov
0
C0, r1 */
0x02000001
,
0x800f0800
,
0x80e40001
,
/* mov
o
C0, r1 */
0x0000ffff
,
/* end */
};
struct
...
...
@@ -11109,10 +11109,10 @@ static void intz_test(IDirect3DDevice9 *device)
}
quad
[]
=
{
{
-
1
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
0
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
0
f
},
{
-
1
.
0
f
,
-
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
},
{
1
.
0
f
,
-
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
},
{
-
1
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
5
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
5
f
},
{
-
1
.
0
f
,
-
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
5
f
},
{
1
.
0
f
,
-
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
5
f
},
};
struct
{
...
...
@@ -11121,14 +11121,14 @@ static void intz_test(IDirect3DDevice9 *device)
}
expected_colors
[]
=
{
{
400
,
60
,
D3DCOLOR_ARGB
(
0x00
,
0x9f
,
0xff
,
0x00
)},
{
560
,
180
,
D3DCOLOR_ARGB
(
0x00
,
0xdf
,
0x55
,
0x00
)},
{
560
,
300
,
D3DCOLOR_ARGB
(
0x00
,
0xdf
,
0x66
,
0x00
)},
{
400
,
420
,
D3DCOLOR_ARGB
(
0x00
,
0x9f
,
0xb6
,
0x00
)},
{
240
,
420
,
D3DCOLOR_ARGB
(
0x00
,
0x60
,
0x6d
,
0x00
)},
{
80
,
300
,
D3DCOLOR_ARGB
(
0x00
,
0x20
,
0x33
,
0x00
)},
{
80
,
180
,
D3DCOLOR_ARGB
(
0x00
,
0x20
,
0x55
,
0x00
)},
{
240
,
60
,
D3DCOLOR_ARGB
(
0x00
,
0x60
,
0xf
f
,
0x00
)},
{
80
,
100
,
D3DCOLOR_ARGB
(
0x00
,
0x20
,
0x40
,
0x00
)},
{
240
,
100
,
D3DCOLOR_ARGB
(
0x00
,
0x60
,
0xbf
,
0x00
)},
{
400
,
100
,
D3DCOLOR_ARGB
(
0x00
,
0x9f
,
0x40
,
0x00
)},
{
560
,
100
,
D3DCOLOR_ARGB
(
0x00
,
0xdf
,
0xbf
,
0x00
)},
{
80
,
450
,
D3DCOLOR_ARGB
(
0x00
,
0x20
,
0x40
,
0x00
)},
{
240
,
450
,
D3DCOLOR_ARGB
(
0x00
,
0x60
,
0xbf
,
0x00
)},
{
400
,
450
,
D3DCOLOR_ARGB
(
0x00
,
0x9f
,
0x40
,
0x00
)},
{
560
,
450
,
D3DCOLOR_ARGB
(
0x00
,
0xdf
,
0xb
f
,
0x00
)},
};
IDirect3DSurface9
*
original_ds
,
*
original_rt
,
*
rt
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment