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
24557a25
Commit
24557a25
authored
Jul 12, 2023
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler/tests: Add another test for matrix majority flags.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
92f52d1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
hlsl_d3d9.c
dlls/d3dcompiler_43/tests/hlsl_d3d9.c
+2
-1
No files found.
dlls/d3dcompiler_43/tests/hlsl_d3d9.c
View file @
24557a25
...
...
@@ -907,6 +907,7 @@ static void test_majority(void)
{
ps_column_source
,
{
0
.
1
f
,
0
.
5
f
,
0
.
1
f
,
0
.
5
f
}
},
{
ps_no_modifiers_source
,
{
0
.
1
f
,
0
.
2
f
,
0
.
1
f
,
0
.
2
f
},
D3DCOMPILE_PACK_MATRIX_ROW_MAJOR
},
{
ps_no_modifiers_source
,
{
0
.
1
f
,
0
.
5
f
,
0
.
1
f
,
0
.
5
f
},
D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR
},
{
ps_no_modifiers_source
,
{
0
.
1
f
,
0
.
2
f
,
0
.
1
f
,
0
.
2
f
},
D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR
|
D3DCOMPILE_PACK_MATRIX_ROW_MAJOR
},
{
ps_pragmas_source
,
{
0
.
1
f
,
0
.
2
f
,
0
.
1
f
,
0
.
5
f
},
D3DCOMPILE_PACK_MATRIX_ROW_MAJOR
},
{
ps_pragmas_source
,
{
0
.
1
f
,
0
.
2
f
,
0
.
1
f
,
0
.
5
f
},
D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR
},
};
...
...
@@ -955,7 +956,7 @@ static void test_majority(void)
draw_quad
(
test_context
.
device
,
ps_code
);
v
=
get_color_vec4
(
test_context
.
device
,
0
,
0
);
todo_wine_if
(
i
==
4
)
todo_wine_if
(
i
==
4
||
i
==
6
)
ok
(
compare_vec4
(
&
v
,
c
->
x
,
c
->
y
,
c
->
z
,
c
->
w
,
1
),
"Got unexpected value {%.8e, %.8e, %.8e, %.8e}.
\n
"
,
v
.
x
,
v
.
y
,
v
.
z
,
v
.
w
);
...
...
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