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
4467901e
Commit
4467901e
authored
Oct 03, 2010
by
Rico Schüller
Committed by
Alexandre Julliard
Oct 07, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Implement D3DGetInputAndOutputSignatureBlob().
parent
164dcc79
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
1 deletion
+17
-1
blob.c
dlls/d3dcompiler_43/blob.c
+8
-0
d3dcompiler_43.spec
dlls/d3dcompiler_43/d3dcompiler_43.spec
+1
-1
d3dcompiler_43_main.c
dlls/d3dcompiler_43/d3dcompiler_43_main.c
+7
-0
d3dcompiler.h
include/d3dcompiler.h
+1
-0
No files found.
dlls/d3dcompiler_43/blob.c
View file @
4467901e
...
...
@@ -133,6 +133,10 @@ static BOOL check_blob_part(DWORD tag, D3D_BLOB_PART part)
if
(
tag
==
TAG_OSGN
)
add
=
TRUE
;
break
;
case
D3D_BLOB_INPUT_AND_OUTPUT_SIGNATURE_BLOB
:
if
(
tag
==
TAG_ISGN
||
tag
==
TAG_OSGN
)
add
=
TRUE
;
break
;
default:
FIXME
(
"Unhandled D3D_BLOB_PART %s.
\n
"
,
debug_d3dcompiler_d3d_blob_part
(
part
));
break
;
...
...
@@ -203,6 +207,10 @@ HRESULT d3dcompiler_get_blob_part(const void *data, SIZE_T data_size, D3D_BLOB_P
if
(
count
!=
1
)
count
=
0
;
break
;
case
D3D_BLOB_INPUT_AND_OUTPUT_SIGNATURE_BLOB
:
if
(
count
!=
2
)
count
=
0
;
break
;
default:
FIXME
(
"Unhandled D3D_BLOB_PART %s.
\n
"
,
debug_d3dcompiler_d3d_blob_part
(
part
));
break
;
...
...
dlls/d3dcompiler_43/d3dcompiler_43.spec
View file @
4467901e
...
...
@@ -8,7 +8,7 @@
@ stub D3DDisassemble
@ stdcall D3DGetBlobPart(ptr long long long ptr)
@ stub D3DGetDebugInfo
@ st
ub D3DGetInputAndOutputSignatureBlob
@ st
dcall D3DGetInputAndOutputSignatureBlob(ptr long ptr)
@ stdcall D3DGetInputSignatureBlob(ptr long ptr)
@ stdcall D3DGetOutputSignatureBlob(ptr long ptr)
@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr)
...
...
dlls/d3dcompiler_43/d3dcompiler_43_main.c
View file @
4467901e
...
...
@@ -102,3 +102,10 @@ HRESULT WINAPI D3DGetOutputSignatureBlob(const void *data, SIZE_T data_size, ID3
return
d3dcompiler_get_blob_part
(
data
,
data_size
,
D3D_BLOB_OUTPUT_SIGNATURE_BLOB
,
0
,
blob
);
}
HRESULT
WINAPI
D3DGetInputAndOutputSignatureBlob
(
const
void
*
data
,
SIZE_T
data_size
,
ID3DBlob
**
blob
)
{
TRACE
(
"data %p, data_size %lu, blob %p
\n
"
,
data
,
data_size
,
blob
);
return
d3dcompiler_get_blob_part
(
data
,
data_size
,
D3D_BLOB_INPUT_AND_OUTPUT_SIGNATURE_BLOB
,
0
,
blob
);
}
include/d3dcompiler.h
View file @
4467901e
...
...
@@ -64,6 +64,7 @@ typedef enum D3D_BLOB_PART
HRESULT
WINAPI
D3DGetBlobPart
(
const
void
*
data
,
SIZE_T
data_size
,
D3D_BLOB_PART
part
,
UINT
flags
,
ID3DBlob
**
blob
);
HRESULT
WINAPI
D3DGetInputSignatureBlob
(
const
void
*
data
,
SIZE_T
data_size
,
ID3DBlob
**
blob
);
HRESULT
WINAPI
D3DGetOutputSignatureBlob
(
const
void
*
data
,
SIZE_T
data_size
,
ID3DBlob
**
blob
);
HRESULT
WINAPI
D3DGetInputAndOutputSignatureBlob
(
const
void
*
data
,
SIZE_T
data_size
,
ID3DBlob
**
blob
);
HRESULT
WINAPI
D3DCreateBlob
(
SIZE_T
data_size
,
ID3DBlob
**
blob
);
...
...
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