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
47e93182
Commit
47e93182
authored
Sep 18, 2012
by
Matteo Bruni
Committed by
Alexandre Julliard
Sep 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Only a few modifiers are relevant in type comparison.
parent
4ccffd8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
d3dcompiler_private.h
dlls/d3dcompiler_43/d3dcompiler_private.h
+2
-0
utils.c
dlls/d3dcompiler_43/utils.c
+2
-1
No files found.
dlls/d3dcompiler_43/d3dcompiler_private.h
View file @
47e93182
...
@@ -732,6 +732,8 @@ struct hlsl_ir_node
...
@@ -732,6 +732,8 @@ struct hlsl_ir_node
#define HLSL_MODIFIER_IN 0x00000800
#define HLSL_MODIFIER_IN 0x00000800
#define HLSL_MODIFIER_OUT 0x00001000
#define HLSL_MODIFIER_OUT 0x00001000
#define HLSL_MODIFIERS_COMPARISON_MASK (HLSL_MODIFIER_ROW_MAJOR | HLSL_MODIFIER_COLUMN_MAJOR)
struct
hlsl_ir_var
struct
hlsl_ir_var
{
{
struct
hlsl_ir_node
node
;
struct
hlsl_ir_node
node
;
...
...
dlls/d3dcompiler_43/utils.c
View file @
47e93182
...
@@ -921,7 +921,8 @@ static BOOL compare_hlsl_types(const struct hlsl_type *t1, const struct hlsl_typ
...
@@ -921,7 +921,8 @@ static BOOL compare_hlsl_types(const struct hlsl_type *t1, const struct hlsl_typ
return
FALSE
;
return
FALSE
;
if
(
t1
->
base_type
==
HLSL_TYPE_SAMPLER
&&
t1
->
sampler_dim
!=
t2
->
sampler_dim
)
if
(
t1
->
base_type
==
HLSL_TYPE_SAMPLER
&&
t1
->
sampler_dim
!=
t2
->
sampler_dim
)
return
FALSE
;
return
FALSE
;
if
(
t1
->
modifiers
!=
t2
->
modifiers
)
if
((
t1
->
modifiers
&
HLSL_MODIFIERS_COMPARISON_MASK
)
!=
(
t2
->
modifiers
&
HLSL_MODIFIERS_COMPARISON_MASK
))
return
FALSE
;
return
FALSE
;
if
(
t1
->
dimx
!=
t2
->
dimx
)
if
(
t1
->
dimx
!=
t2
->
dimx
)
return
FALSE
;
return
FALSE
;
...
...
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