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
3c1ffbf2
Commit
3c1ffbf2
authored
Feb 27, 2011
by
Rico Schüller
Committed by
Alexandre Julliard
Feb 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Reorder section parsing to reflect the order from the shader blob.
parent
3850e8f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
reflection.c
dlls/d3dcompiler_43/reflection.c
+19
-19
No files found.
dlls/d3dcompiler_43/reflection.c
View file @
3c1ffbf2
...
...
@@ -1465,25 +1465,6 @@ HRESULT d3dcompiler_shader_reflection_init(struct d3dcompiler_shader_reflection
switch
(
section
->
tag
)
{
case
TAG_STAT
:
hr
=
d3dcompiler_parse_stat
(
reflection
,
section
->
data
,
section
->
data_size
);
if
(
FAILED
(
hr
))
{
WARN
(
"Failed to parse section STAT.
\n
"
);
goto
err_out
;
}
break
;
case
TAG_SHEX
:
case
TAG_SHDR
:
hr
=
d3dcompiler_parse_shdr
(
reflection
,
section
->
data
,
section
->
data_size
);
if
(
FAILED
(
hr
))
{
WARN
(
"Failed to parse SHDR section.
\n
"
);
goto
err_out
;
}
break
;
case
TAG_RDEF
:
hr
=
d3dcompiler_parse_rdef
(
reflection
,
section
->
data
,
section
->
data_size
);
if
(
FAILED
(
hr
))
...
...
@@ -1545,6 +1526,25 @@ HRESULT d3dcompiler_shader_reflection_init(struct d3dcompiler_shader_reflection
}
break
;
case
TAG_SHEX
:
case
TAG_SHDR
:
hr
=
d3dcompiler_parse_shdr
(
reflection
,
section
->
data
,
section
->
data_size
);
if
(
FAILED
(
hr
))
{
WARN
(
"Failed to parse SHDR section.
\n
"
);
goto
err_out
;
}
break
;
case
TAG_STAT
:
hr
=
d3dcompiler_parse_stat
(
reflection
,
section
->
data
,
section
->
data_size
);
if
(
FAILED
(
hr
))
{
WARN
(
"Failed to parse section STAT.
\n
"
);
goto
err_out
;
}
break
;
default:
FIXME
(
"Unhandled section %s!
\n
"
,
debugstr_an
((
const
char
*
)
&
section
->
tag
,
4
));
break
;
...
...
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