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
a36f51b1
Commit
a36f51b1
authored
Oct 12, 2010
by
Rico Schüller
Committed by
Alexandre Julliard
Oct 13, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Add D3D_BLOB_XNA_SHADER to D3DGetBlobPart().
parent
cdfdfe59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
blob.c
dlls/d3dcompiler_43/blob.c
+7
-1
d3dcompiler_private.h
dlls/d3dcompiler_43/d3dcompiler_private.h
+1
-0
No files found.
dlls/d3dcompiler_43/blob.c
View file @
a36f51b1
...
...
@@ -157,6 +157,10 @@ static BOOL check_blob_part(DWORD tag, D3D_BLOB_PART part)
if
(
tag
==
TAG_XNAP
)
add
=
TRUE
;
break
;
case
D3D_BLOB_XNA_SHADER
:
if
(
tag
==
TAG_XNAS
)
add
=
TRUE
;
break
;
default:
FIXME
(
"Unhandled D3D_BLOB_PART %s.
\n
"
,
debug_d3dcompiler_d3d_blob_part
(
part
));
break
;
...
...
@@ -228,6 +232,7 @@ HRESULT d3dcompiler_get_blob_part(const void *data, SIZE_T data_size, D3D_BLOB_P
case
D3D_BLOB_DEBUG_INFO
:
case
D3D_BLOB_LEGACY_SHADER
:
case
D3D_BLOB_XNA_PREPASS_SHADER
:
case
D3D_BLOB_XNA_SHADER
:
if
(
count
!=
1
)
count
=
0
;
break
;
...
...
@@ -253,7 +258,8 @@ HRESULT d3dcompiler_get_blob_part(const void *data, SIZE_T data_size, D3D_BLOB_P
}
/* some parts aren't full DXBCs, they contain only the data */
if
(
count
==
1
&&
(
part
==
D3D_BLOB_DEBUG_INFO
||
part
==
D3D_BLOB_LEGACY_SHADER
||
part
==
D3D_BLOB_XNA_PREPASS_SHADER
))
if
(
count
==
1
&&
(
part
==
D3D_BLOB_DEBUG_INFO
||
part
==
D3D_BLOB_LEGACY_SHADER
||
part
==
D3D_BLOB_XNA_PREPASS_SHADER
||
part
==
D3D_BLOB_XNA_SHADER
))
{
hr
=
D3DCreateBlob
(
dst_dxbc
.
sections
[
0
].
data_size
,
blob
);
if
(
SUCCEEDED
(
hr
))
...
...
dlls/d3dcompiler_43/d3dcompiler_private.h
View file @
a36f51b1
...
...
@@ -587,6 +587,7 @@ void SlDeleteShader(struct bwriter_shader *shader);
#define TAG_PCSG MAKE_TAG('P', 'C', 'S', 'G')
#define TAG_SDBG MAKE_TAG('S', 'D', 'B', 'G')
#define TAG_XNAP MAKE_TAG('X', 'N', 'A', 'P')
#define TAG_XNAS MAKE_TAG('X', 'N', 'A', 'S')
struct
dxbc_section
{
...
...
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