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
ba9d311f
Commit
ba9d311f
authored
Dec 28, 2010
by
Rico Schüller
Committed by
Alexandre Julliard
Dec 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Implement ID3D11ReflectionInterface::GetDesc().
parent
127d07a3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
2 deletions
+49
-2
reflection.c
dlls/d3dcompiler_43/reflection.c
+49
-2
No files found.
dlls/d3dcompiler_43/reflection.c
View file @
ba9d311f
...
...
@@ -137,9 +137,56 @@ static ULONG STDMETHODCALLTYPE d3dcompiler_shader_reflection_Release(ID3D11Shade
static
HRESULT
STDMETHODCALLTYPE
d3dcompiler_shader_reflection_GetDesc
(
ID3D11ShaderReflection
*
iface
,
D3D11_SHADER_DESC
*
desc
)
{
FIXME
(
"iface %p, desc %p stub!
\n
"
,
iface
,
desc
);
struct
d3dcompiler_shader_reflection
*
This
=
impl_from_ID3D11ShaderReflection
(
iface
);
return
E_NOTIMPL
;
FIXME
(
"iface %p, desc %p partial stub!
\n
"
,
iface
,
desc
);
if
(
!
desc
)
{
WARN
(
"Invalid argument specified
\n
"
);
return
E_FAIL
;
}
desc
->
Version
=
This
->
version
;
desc
->
Creator
=
This
->
creator
;
desc
->
Flags
=
This
->
flags
;
desc
->
ConstantBuffers
=
This
->
constant_buffer_count
;
desc
->
BoundResources
=
This
->
bound_resource_count
;
desc
->
InputParameters
=
This
->
isgn
?
This
->
isgn
->
element_count
:
0
;
desc
->
OutputParameters
=
This
->
osgn
?
This
->
osgn
->
element_count
:
0
;
desc
->
InstructionCount
=
This
->
instruction_count
;
desc
->
TempRegisterCount
=
This
->
temp_register_count
;
desc
->
TempArrayCount
=
This
->
temp_array_count
;
desc
->
DefCount
=
0
;
desc
->
DclCount
=
This
->
dcl_count
;
desc
->
TextureNormalInstructions
=
This
->
texture_normal_instructions
;
desc
->
TextureLoadInstructions
=
This
->
texture_load_instructions
;
desc
->
TextureCompInstructions
=
This
->
texture_comp_instructions
;
desc
->
TextureBiasInstructions
=
This
->
texture_bias_instructions
;
desc
->
TextureGradientInstructions
=
This
->
texture_gradient_instructions
;
desc
->
FloatInstructionCount
=
This
->
float_instruction_count
;
desc
->
IntInstructionCount
=
This
->
int_instruction_count
;
desc
->
UintInstructionCount
=
This
->
uint_instruction_count
;
desc
->
StaticFlowControlCount
=
This
->
static_flow_control_count
;
desc
->
DynamicFlowControlCount
=
This
->
dynamic_flow_control_count
;
desc
->
MacroInstructionCount
=
0
;
desc
->
ArrayInstructionCount
=
This
->
array_instruction_count
;
desc
->
CutInstructionCount
=
This
->
cut_instruction_count
;
desc
->
EmitInstructionCount
=
This
->
emit_instruction_count
;
desc
->
GSOutputTopology
=
This
->
gs_output_topology
;
desc
->
GSMaxOutputVertexCount
=
This
->
gs_max_output_vertex_count
;
desc
->
InputPrimitive
=
This
->
input_primitive
;
desc
->
PatchConstantParameters
=
This
->
pcsg
?
This
->
pcsg
->
element_count
:
0
;
desc
->
cGSInstanceCount
=
0
;
desc
->
cControlPoints
=
This
->
c_control_points
;
desc
->
HSOutputPrimitive
=
This
->
hs_output_primitive
;
desc
->
HSPartitioning
=
This
->
hs_prtitioning
;
desc
->
TessellatorDomain
=
This
->
tessellator_domain
;
desc
->
cBarrierInstructions
=
0
;
desc
->
cInterlockedInstructions
=
0
;
desc
->
cTextureStoreInstructions
=
0
;
return
S_OK
;
}
static
struct
ID3D11ShaderReflectionConstantBuffer
*
STDMETHODCALLTYPE
d3dcompiler_shader_reflection_GetConstantBufferByIndex
(
...
...
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