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
164dcc79
Commit
164dcc79
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 D3DGetOutputSignatureBlob().
parent
5946201d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
1 deletion
+15
-1
blob.c
dlls/d3dcompiler_43/blob.c
+5
-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_private.h
dlls/d3dcompiler_43/d3dcompiler_private.h
+1
-0
d3dcompiler.h
include/d3dcompiler.h
+1
-0
No files found.
dlls/d3dcompiler_43/blob.c
View file @
164dcc79
...
@@ -129,6 +129,10 @@ static BOOL check_blob_part(DWORD tag, D3D_BLOB_PART part)
...
@@ -129,6 +129,10 @@ static BOOL check_blob_part(DWORD tag, D3D_BLOB_PART part)
if
(
tag
==
TAG_ISGN
)
add
=
TRUE
;
if
(
tag
==
TAG_ISGN
)
add
=
TRUE
;
break
;
break
;
case
D3D_BLOB_OUTPUT_SIGNATURE_BLOB
:
if
(
tag
==
TAG_OSGN
)
add
=
TRUE
;
break
;
default:
default:
FIXME
(
"Unhandled D3D_BLOB_PART %s.
\n
"
,
debug_d3dcompiler_d3d_blob_part
(
part
));
FIXME
(
"Unhandled D3D_BLOB_PART %s.
\n
"
,
debug_d3dcompiler_d3d_blob_part
(
part
));
break
;
break
;
...
@@ -195,6 +199,7 @@ HRESULT d3dcompiler_get_blob_part(const void *data, SIZE_T data_size, D3D_BLOB_P
...
@@ -195,6 +199,7 @@ HRESULT d3dcompiler_get_blob_part(const void *data, SIZE_T data_size, D3D_BLOB_P
switch
(
part
)
switch
(
part
)
{
{
case
D3D_BLOB_INPUT_SIGNATURE_BLOB
:
case
D3D_BLOB_INPUT_SIGNATURE_BLOB
:
case
D3D_BLOB_OUTPUT_SIGNATURE_BLOB
:
if
(
count
!=
1
)
count
=
0
;
if
(
count
!=
1
)
count
=
0
;
break
;
break
;
...
...
dlls/d3dcompiler_43/d3dcompiler_43.spec
View file @
164dcc79
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
@ stub D3DGetDebugInfo
@ stub D3DGetDebugInfo
@ stub D3DGetInputAndOutputSignatureBlob
@ stub D3DGetInputAndOutputSignatureBlob
@ stdcall D3DGetInputSignatureBlob(ptr long ptr)
@ stdcall D3DGetInputSignatureBlob(ptr long ptr)
@ st
ub D3DGetOutputSignatureBlob
@ st
dcall D3DGetOutputSignatureBlob(ptr long ptr)
@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr)
@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr)
@ stub D3DReflect
@ stub D3DReflect
@ stub D3DReturnFailure1
@ stub D3DReturnFailure1
...
...
dlls/d3dcompiler_43/d3dcompiler_43_main.c
View file @
164dcc79
...
@@ -95,3 +95,10 @@ HRESULT WINAPI D3DGetInputSignatureBlob(const void *data, SIZE_T data_size, ID3D
...
@@ -95,3 +95,10 @@ HRESULT WINAPI D3DGetInputSignatureBlob(const void *data, SIZE_T data_size, ID3D
return
d3dcompiler_get_blob_part
(
data
,
data_size
,
D3D_BLOB_INPUT_SIGNATURE_BLOB
,
0
,
blob
);
return
d3dcompiler_get_blob_part
(
data
,
data_size
,
D3D_BLOB_INPUT_SIGNATURE_BLOB
,
0
,
blob
);
}
}
HRESULT
WINAPI
D3DGetOutputSignatureBlob
(
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_OUTPUT_SIGNATURE_BLOB
,
0
,
blob
);
}
dlls/d3dcompiler_43/d3dcompiler_private.h
View file @
164dcc79
...
@@ -582,6 +582,7 @@ void SlDeleteShader(struct bwriter_shader *shader);
...
@@ -582,6 +582,7 @@ void SlDeleteShader(struct bwriter_shader *shader);
((DWORD)(ch2) << 16) | ((DWORD)(ch3) << 24 ))
((DWORD)(ch2) << 16) | ((DWORD)(ch3) << 24 ))
#define TAG_DXBC MAKE_TAG('D', 'X', 'B', 'C')
#define TAG_DXBC MAKE_TAG('D', 'X', 'B', 'C')
#define TAG_ISGN MAKE_TAG('I', 'S', 'G', 'N')
#define TAG_ISGN MAKE_TAG('I', 'S', 'G', 'N')
#define TAG_OSGN MAKE_TAG('O', 'S', 'G', 'N')
struct
dxbc_section
struct
dxbc_section
{
{
...
...
include/d3dcompiler.h
View file @
164dcc79
...
@@ -63,6 +63,7 @@ typedef enum D3D_BLOB_PART
...
@@ -63,6 +63,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
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
D3DGetInputSignatureBlob
(
const
void
*
data
,
SIZE_T
data_size
,
ID3DBlob
**
blob
);
HRESULT
WINAPI
D3DGetOutputSignatureBlob
(
const
void
*
data
,
SIZE_T
data_size
,
ID3DBlob
**
blob
);
HRESULT
WINAPI
D3DCreateBlob
(
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