Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
383a7fe3
Commit
383a7fe3
authored
Jul 21, 2010
by
Matteo Bruni
Committed by
Alexandre Julliard
Jul 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Fix dst register handling in ps_1_4.
parent
ee5cada2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
asmparser.c
dlls/d3dx9_36/asmparser.c
+1
-1
asm.c
dlls/d3dx9_36/tests/asm.c
+11
-1
No files found.
dlls/d3dx9_36/asmparser.c
View file @
383a7fe3
...
...
@@ -838,7 +838,7 @@ static void asmparser_dstreg_ps_1_4(struct asm_parser *This,
debug_print_dstreg
(
dst
));
set_parse_status
(
This
,
PARSE_ERR
);
}
reg
=
map_oldps_register
(
dst
,
FALS
E
);
reg
=
map_oldps_register
(
dst
,
TRU
E
);
memcpy
(
&
instr
->
dst
,
&
reg
,
sizeof
(
reg
));
instr
->
has_dst
=
TRUE
;
}
...
...
dlls/d3dx9_36/tests/asm.c
View file @
383a7fe3
...
...
@@ -583,11 +583,21 @@ static void ps_1_4_test(void) {
"texdepth_x2 r5
\n
"
,
{
0xffff0104
,
0x00000057
,
0x810f0005
,
0x0000ffff
}
},
{
/* shader 1
8
*/
{
/* shader 1
9
*/
"ps_1_4
\n
"
"bem_d2 r1, c0, r0
\n
"
,
{
0xffff0104
,
0x00000059
,
0x8f0f0001
,
0xa0e40000
,
0x80e40000
,
0x0000ffff
}
},
{
/* shader 20 */
"ps_1_4
\n
"
"texkill t0
\n
"
,
{
0xffff0104
,
0x00000041
,
0xb00f0000
,
0x0000ffff
}
},
{
/* shader 21 */
"ps_1_4
\n
"
"texkill r0
\n
"
,
{
0xffff0104
,
0x00000041
,
0x800f0000
,
0x0000ffff
}
},
};
exec_tests
(
"ps_1_4"
,
tests
,
sizeof
(
tests
)
/
sizeof
(
tests
[
0
]));
...
...
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