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
cb876cdb
Commit
cb876cdb
authored
Oct 23, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Implement D3D10DisassembleShader().
parent
8e2fd3a9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
d3d10.spec
dlls/d3d10/d3d10.spec
+1
-1
shader.c
dlls/d3d10/shader.c
+9
-0
d3d10shader.h
include/d3d10shader.h
+2
-0
No files found.
dlls/d3d10/d3d10.spec
View file @
cb876cdb
...
...
@@ -7,7 +7,7 @@
@ stub D3D10CreateEffectPoolFromMemory
@ stdcall D3D10CreateStateBlock(ptr ptr ptr)
@ stub D3D10DisassembleEffect
@ st
ub D3D10DisassembleShader
@ st
dcall D3D10DisassembleShader(ptr long long ptr ptr)
@ stdcall D3D10GetGeometryShaderProfile(ptr)
@ stdcall D3D10GetInputAndOutputSignatureBlob(ptr long ptr) d3dcompiler_43.D3DGetInputAndOutputSignatureBlob
@ stdcall D3D10GetInputSignatureBlob(ptr long ptr) d3dcompiler_43.D3DGetInputSignatureBlob
...
...
dlls/d3d10/shader.c
View file @
cb876cdb
...
...
@@ -147,3 +147,12 @@ HRESULT WINAPI D3D10CompileShader(const char *data, SIZE_T data_size, const char
return
D3DCompile
(
data
,
data_size
,
filename
,
defines
,
include
,
entrypoint
,
profile
,
flags
,
0
,
shader
,
error_messages
);
}
HRESULT
WINAPI
D3D10DisassembleShader
(
const
void
*
data
,
SIZE_T
data_size
,
BOOL
color_code
,
const
char
*
comments
,
ID3D10Blob
**
disassembly
)
{
TRACE
(
"data %p, data_size %#lx, color_code %#x, comments %p, disassembly %p.
\n
"
,
data
,
data_size
,
color_code
,
comments
,
disassembly
);
return
D3DDisassemble
(
data
,
data_size
,
color_code
?
D3D_DISASM_ENABLE_COLOR_CODE
:
0
,
comments
,
disassembly
);
}
include/d3d10shader.h
View file @
cb876cdb
...
...
@@ -214,6 +214,8 @@ extern "C" {
HRESULT
WINAPI
D3D10CompileShader
(
LPCSTR
data
,
SIZE_T
data_size
,
LPCSTR
filename
,
const
D3D10_SHADER_MACRO
*
defines
,
ID3D10Include
*
include
,
LPCSTR
entrypoint
,
LPCSTR
profile
,
UINT
flags
,
ID3D10Blob
**
shader
,
ID3D10Blob
**
error_messages
);
HRESULT
WINAPI
D3D10DisassembleShader
(
const
void
*
data
,
SIZE_T
data_size
,
BOOL
color_code
,
const
char
*
comments
,
ID3D10Blob
**
disassembly
);
LPCSTR
WINAPI
D3D10GetVertexShaderProfile
(
ID3D10Device
*
device
);
LPCSTR
WINAPI
D3D10GetGeometryShaderProfile
(
ID3D10Device
*
device
);
LPCSTR
WINAPI
D3D10GetPixelShaderProfile
(
ID3D10Device
*
device
);
...
...
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