12 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 13 #define __REQUIRED_RPCNDR_H_VERSION__ 475 17 #ifndef __REQUIRED_RPCSAL_H_VERSION__ 18 #define __REQUIRED_RPCSAL_H_VERSION__ 100 24 #ifndef __RPCNDR_H_VERSION__ 25 #error this stub requires an updated version of <rpcndr.h> 28 #ifndef COM_NO_WINDOWS_H 33 #ifndef __d3d11ShaderTracing_h__ 34 #define __d3d11ShaderTracing_h__ 36 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 42 #ifndef __ID3D11ShaderTrace_FWD_DEFINED__ 43 #define __ID3D11ShaderTrace_FWD_DEFINED__ 49 #ifndef __ID3D11ShaderTraceFactory_FWD_DEFINED__ 50 #define __ID3D11ShaderTraceFactory_FWD_DEFINED__ 79 #define D3D11_TRACE_COMPONENT_X 0x1 80 #define D3D11_TRACE_COMPONENT_Y 0x2 81 #define D3D11_TRACE_COMPONENT_Z 0x4 82 #define D3D11_TRACE_COMPONENT_W 0x8 120 #define D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_WRITES 0x1 121 #define D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_READS 0x2 222 #define D3D11_TRACE_REGISTER_FLAGS_RELATIVE_INDEXING 0x1 235 #define D3D11_TRACE_MISC_GS_EMIT 0x1 236 #define D3D11_TRACE_MISC_GS_CUT 0x2 237 #define D3D11_TRACE_MISC_PS_DISCARD 0x4 238 #define D3D11_TRACE_MISC_GS_EMIT_STREAM 0x8 239 #define D3D11_TRACE_MISC_GS_CUT_STREAM 0x10 240 #define D3D11_TRACE_MISC_HALT 0x20 241 #define D3D11_TRACE_MISC_MESSAGE 0x40 260 #ifndef __ID3D11ShaderTrace_INTERFACE_DEFINED__ 261 #define __ID3D11ShaderTrace_INTERFACE_DEFINED__ 269 #if defined(__cplusplus) && !defined(CINTERFACE) 271 MIDL_INTERFACE(
"36b013e6-2811-4845-baa7-d623fe0df104")
275 virtual HRESULT STDMETHODCALLTYPE TraceReady(
277 _Out_opt_
UINT64 *pTestCount) = 0;
279 virtual void STDMETHODCALLTYPE ResetTrace(
void) = 0;
281 virtual HRESULT STDMETHODCALLTYPE GetTraceStats(
285 virtual HRESULT STDMETHODCALLTYPE PSSelectStamp(
287 _In_
UINT stampIndex) = 0;
289 virtual HRESULT STDMETHODCALLTYPE GetInitialRegisterContents(
295 virtual HRESULT STDMETHODCALLTYPE GetStep(
301 virtual HRESULT STDMETHODCALLTYPE GetWrittenRegister(
305 _In_
UINT writtenRegisterIndex,
311 virtual HRESULT STDMETHODCALLTYPE GetReadRegister(
315 _In_
UINT readRegisterIndex,
330 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
336 ULONG ( STDMETHODCALLTYPE *AddRef )(
342 HRESULT ( STDMETHODCALLTYPE *TraceReady )(
347 void ( STDMETHODCALLTYPE *ResetTrace )(
350 HRESULT ( STDMETHODCALLTYPE *GetTraceStats )(
355 HRESULT ( STDMETHODCALLTYPE *PSSelectStamp )(
360 HRESULT ( STDMETHODCALLTYPE *GetInitialRegisterContents )(
367 HRESULT ( STDMETHODCALLTYPE *GetStep )(
374 HRESULT ( STDMETHODCALLTYPE *GetWrittenRegister )(
385 HRESULT ( STDMETHODCALLTYPE *GetReadRegister )(
409 #define ID3D11ShaderTrace_QueryInterface(This,riid,ppvObject) \ 410 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 412 #define ID3D11ShaderTrace_AddRef(This) \ 413 ( (This)->lpVtbl -> AddRef(This) ) 415 #define ID3D11ShaderTrace_Release(This) \ 416 ( (This)->lpVtbl -> Release(This) ) 419 #define ID3D11ShaderTrace_TraceReady(This,pTestCount) \ 420 ( (This)->lpVtbl -> TraceReady(This,pTestCount) ) 422 #define ID3D11ShaderTrace_ResetTrace(This) \ 423 ( (This)->lpVtbl -> ResetTrace(This) ) 425 #define ID3D11ShaderTrace_GetTraceStats(This,pTraceStats) \ 426 ( (This)->lpVtbl -> GetTraceStats(This,pTraceStats) ) 428 #define ID3D11ShaderTrace_PSSelectStamp(This,stampIndex) \ 429 ( (This)->lpVtbl -> PSSelectStamp(This,stampIndex) ) 431 #define ID3D11ShaderTrace_GetInitialRegisterContents(This,pRegister,pValue) \ 432 ( (This)->lpVtbl -> GetInitialRegisterContents(This,pRegister,pValue) ) 434 #define ID3D11ShaderTrace_GetStep(This,stepIndex,pTraceStep) \ 435 ( (This)->lpVtbl -> GetStep(This,stepIndex,pTraceStep) ) 437 #define ID3D11ShaderTrace_GetWrittenRegister(This,stepIndex,writtenRegisterIndex,pRegister,pValue) \ 438 ( (This)->lpVtbl -> GetWrittenRegister(This,stepIndex,writtenRegisterIndex,pRegister,pValue) ) 440 #define ID3D11ShaderTrace_GetReadRegister(This,stepIndex,readRegisterIndex,pRegister,pValue) \ 441 ( (This)->lpVtbl -> GetReadRegister(This,stepIndex,readRegisterIndex,pRegister,pValue) ) 454 #ifndef __ID3D11ShaderTraceFactory_INTERFACE_DEFINED__ 455 #define __ID3D11ShaderTraceFactory_INTERFACE_DEFINED__ 463 #if defined(__cplusplus) && !defined(CINTERFACE) 465 MIDL_INTERFACE(
"1fbad429-66ab-41cc-9617-667ac10e4459")
469 virtual HRESULT STDMETHODCALLTYPE CreateShaderTrace(
471 _In_ IUnknown *pShader,
486 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
492 ULONG ( STDMETHODCALLTYPE *AddRef )(
498 HRESULT ( STDMETHODCALLTYPE *CreateShaderTrace )(
520 #define ID3D11ShaderTraceFactory_QueryInterface(This,riid,ppvObject) \ 521 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 523 #define ID3D11ShaderTraceFactory_AddRef(This) \ 524 ( (This)->lpVtbl -> AddRef(This) ) 526 #define ID3D11ShaderTraceFactory_Release(This) \ 527 ( (This)->lpVtbl -> Release(This) ) 530 #define ID3D11ShaderTraceFactory_CreateShaderTrace(This,pShader,pTraceDesc,ppShaderTrace) \ 531 ( (This)->lpVtbl -> CreateShaderTrace(This,pShader,pTraceDesc,ppShaderTrace) ) 549 _In_ SIZE_T SrcDataSize,
554 _COM_Outptr_ interface
ID3D10Blob** ppDisassembly);
UINT64 PixelCoverageMaskAfterA2CSampleMask[4]
Definition: d3d11shadertracing.h:164
UINT64 Invocation
Definition: d3d11shadertracing.h:87
Definition: d3d11shadertracing.h:197
struct D3D11_COMPUTE_SHADER_TRACE_DESC D3D11_COMPUTE_SHADER_TRACE_DESC
Definition: d3d11shadertracing.h:142
_In_ IUnknown _In_ D3D11_SHADER_TRACE_DESC _COM_Outptr_ ID3D11ShaderTrace ** ppShaderTrace
Definition: d3d11shadertracing.h:501
struct D3D11_TRACE_VALUE D3D11_TRACE_VALUE
UINT8 OperandIndex
Definition: d3d11shadertracing.h:231
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(ID3D11ShaderTrace *This
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(ID3D11ShaderTraceFactory *This
D3D11_PIXEL_SHADER_TRACE_DESC PixelShaderTraceDesc
Definition: d3d11shadertracing.h:132
const char * pValue
Definition: jsonsax_full.h:952
Definition: d3d11shadertracing.h:209
D3D11_TRACE_COMPONENT_MASK HSOutputPatchConstantMask[32]
Definition: d3d11shadertracing.h:171
struct D3D11_TRACE_REGISTER D3D11_TRACE_REGISTER
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: d3d11shadertracing.h:488
D3D11_SHADER_TRACE_DESC TraceDesc
Definition: d3d11shadertracing.h:150
struct D3D11_PIXEL_SHADER_TRACE_DESC D3D11_PIXEL_SHADER_TRACE_DESC
UINT Bits[4]
Definition: d3d11shadertracing.h:177
D3D11_TRACE_COMPONENT_MASK OutputMask[32]
Definition: d3d11shadertracing.h:155
Definition: d3d11shadertracing.h:73
D3D11_VERTEX_SHADER_TRACE_DESC VertexShaderTraceDesc
Definition: d3d11shadertracing.h:128
Definition: d3d11shadertracing.h:210
Definition: d3d11shadertracing.h:218
BOOL PSOutputsDepth
Definition: d3d11shadertracing.h:167
void(STDMETHODCALLTYPE *ResetTrace)(ID3D11ShaderTrace *This)
Definition: d3d11shadertracing.h:76
UINT16 Index1D
Definition: d3d11shadertracing.h:228
D3D11_TRACE_REGISTER_TYPE
Definition: d3d11shadertracing.h:181
INT Y
Definition: d3d11shadertracing.h:109
uint64_t UINT64
Definition: coretypes.h:8
_Out_opt_ UINT64 * pTestCount
Definition: d3d11shadertracing.h:345
struct D3D11_TRACE_STATS D3D11_TRACE_STATS
Definition: d3d11shadertracing.h:202
UINT64 PixelCoverageMaskAfterShader[4]
Definition: d3d11shadertracing.h:163
Definition: d3d11shadertracing.h:186
UINT ThreadGroupID[3]
Definition: d3d11shadertracing.h:117
UINT8 NumInvocationsInStamp
Definition: d3d11shadertracing.h:151
EXTERN_C const IID IID_ID3D11ShaderTraceFactory
Definition: d3d11shadertracing.h:461
Definition: d3d11shadertracing.h:74
_In_ IUnknown _In_ D3D11_SHADER_TRACE_DESC * pTraceDesc
Definition: d3d11shadertracing.h:501
UINT64 PixelDiscardedMask[4]
Definition: d3d11shadertracing.h:162
UINT PixelPosition[4][2]
Definition: d3d11shadertracing.h:160
UINT8 NumRegistersWritten
Definition: d3d11shadertracing.h:248
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
interface ID3D10Blob ID3D10Blob
Definition: d3dcommon.h:44
Definition: d3d11shadertracing.h:200
D3D11_TRACE_GS_INPUT_PRIMITIVE GSInputPrimitive
Definition: d3d11shadertracing.h:169
D3D11_TRACE_COMPONENT_MASK DSInputPatchConstantMask[32]
Definition: d3d11shadertracing.h:172
struct ID3D11ShaderTraceFactoryVtbl ID3D11ShaderTraceFactoryVtbl
D3D11_DOMAIN_SHADER_TRACE_DESC DomainShaderTraceDesc
Definition: d3d11shadertracing.h:130
UINT16 ImmediateConstantBufferSize
Definition: d3d11shadertracing.h:159
struct D3D11_HULL_SHADER_TRACE_DESC D3D11_HULL_SHADER_TRACE_DESC
Definition: d3d11shadertracing.h:215
RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0002_v0_0_c_ifspec
Definition: d3d11shadertracing.h:85
Definition: d3d11shadertracing.h:195
interface ID3D11ShaderTraceFactory ID3D11ShaderTraceFactory
Definition: d3d11shadertracing.h:51
UINT8 NumRegistersRead
Definition: d3d11shadertracing.h:249
Definition: d3d11shadertracing.h:191
Definition: d3d11shadertracing.h:184
Definition: d3d11shadertracing.h:72
_In_ D3D11_TRACE_REGISTER _Out_ D3D11_TRACE_VALUE * pValue
Definition: d3d11shadertracing.h:363
Definition: d3d11shadertracing.h:206
Definition: d3d11shadertracing.h:207
Definition: d3d11shadertracing.h:75
EXTERN_C const IID IID_ID3D11ShaderTrace
Definition: d3d11shadertracing.h:267
Definition: d3d11shadertracing.h:213
Definition: d3d11shadertracing.h:144
UINT16 Index2D[2]
Definition: d3d11shadertracing.h:229
Definition: d3d11shadertracing.h:113
D3D11_HULL_SHADER_TRACE_DESC HullShaderTraceDesc
Definition: d3d11shadertracing.h:129
Definition: d3d11shadertracing.h:198
Definition: d3d11shadertracing.h:482
UINT16 MaxIndexableTempIndex
Definition: d3d11shadertracing.h:157
_In_ D3D11_TRACE_REGISTER * pRegister
Definition: d3d11shadertracing.h:363
D3D11_TRACE_COMPONENT_MASK InputMask[32]
Definition: d3d11shadertracing.h:154
Definition: d3d11shadertracing.h:188
struct D3D11_DOMAIN_SHADER_TRACE_DESC D3D11_DOMAIN_SHADER_TRACE_DESC
Definition: d3d11shadertracing.h:216
_In_ UINT stepIndex
Definition: d3d11shadertracing.h:370
UINT64 Invocation
Definition: d3d11shadertracing.h:97
BEGIN_INTERFACE REFIID riid
Definition: d3d11shadertracing.h:488
UINT8 D3D11_TRACE_COMPONENT_MASK
Definition: d3d11shadertracing.h:83
UINT16 D3D11_TRACE_MISC_OPERATIONS_MASK
Definition: d3d11shadertracing.h:242
Definition: d3d11shadertracing.h:208
Definition: d3d11shadertracing.h:187
INT X
Definition: d3d11shadertracing.h:108
Definition: d3d11shadertracing.h:223
D3D11_TRACE_COMPONENT_MASK ValidMask
Definition: d3d11shadertracing.h:178
struct ID3D11ShaderTraceVtbl ID3D11ShaderTraceVtbl
UINT8 TargetStampIndex
Definition: d3d11shadertracing.h:152
Definition: d3d11shadertracing.h:145
D3D11_TRACE_REGISTER_TYPE RegType
Definition: d3d11shadertracing.h:225
BOOL InstructionActive
Definition: d3d11shadertracing.h:247
UINT8 Flags
Definition: d3d11shadertracing.h:232
Definition: d3d11shadertracing.h:140
UINT64 Invocation
Definition: d3d11shadertracing.h:107
struct D3D11_SHADER_TRACE_DESC D3D11_SHADER_TRACE_DESC
D3D11_COMPUTE_SHADER_TRACE_DESC ComputeShaderTraceDesc
Definition: d3d11shadertracing.h:133
Definition: d3d11shadertracing.h:326
D3D11_SHADER_TYPE Type
Definition: d3d11shadertracing.h:124
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: d3d11shadertracing.h:332
Definition: d3d11shadertracing.h:95
UINT64 CurrentGlobalCycle
Definition: d3d11shadertracing.h:252
Definition: d3d11shadertracing.h:204
Definition: d3d11shadertracing.h:219
Definition: d3d11shadertracing.h:185
Definition: d3d11shadertracing.h:194
RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0000_v0_0_s_ifspec
UINT64 Invocation
Definition: d3d11shadertracing.h:92
Definition: d3d11shadertracing.h:212
Definition: d3d11shadertracing.h:211
static INLINE ULONG Release(void *object)
Definition: dxgi_common.h:253
_In_ IUnknown * pShader
Definition: d3d11shadertracing.h:501
UINT NumTraceSteps
Definition: d3d11shadertracing.h:153
_Out_ D3D11_TRACE_STATS * pTraceStats
Definition: d3d11shadertracing.h:353
BEGIN_INTERFACE REFIID riid
Definition: d3d11shadertracing.h:332
BOOL PSOutputsMask
Definition: d3d11shadertracing.h:168
_In_ UINT _In_ UINT readRegisterIndex
Definition: d3d11shadertracing.h:388
unsigned int BOOL
Definition: gctypes.h:51
UINT64 PixelCoverageMaskAfterA2CSampleMaskDepth[4]
Definition: d3d11shadertracing.h:165
Definition: d3d11shadertracing.h:105
Definition: d3d11shadertracing.h:196
struct D3D11_VERTEX_SHADER_TRACE_DESC D3D11_VERTEX_SHADER_TRACE_DESC
Definition: d3d11shadertracing.h:214
Definition: d3d11shadertracing.h:90
Definition: d3d11shadertracing.h:205
RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0000_v0_0_c_ifspec
interface ID3D11ShaderTrace ID3D11ShaderTrace
Definition: d3d11shadertracing.h:44
Definition: glslang_tab.cpp:135
UINT64 Invocation
Definition: d3d11shadertracing.h:102
ULONG(STDMETHODCALLTYPE *AddRef)(ID3D11ShaderTraceFactory *This)
D3D11_TRACE_GS_INPUT_PRIMITIVE
Definition: d3d11shadertracing.h:137
Definition: d3d11shadertracing.h:190
Definition: d3d11shadertracing.h:71
Definition: glslang_tab.cpp:136
D3D11_SHADER_TYPE
Definition: d3d11shadertracing.h:68
Definition: d3d11shadertracing.h:244
uint16_t UINT16
Definition: coretypes.h:11
UINT64 Invocation
Definition: d3d11shadertracing.h:115
Definition: d3d11shadertracing.h:175
Definition: d3d11shadertracing.h:141
Definition: d3d11shadertracing.h:193
Definition: d3d11shadertracing.h:122
UINT64 PixelCoverageMaskAfterA2CSampleMaskDepthStencil[4]
Definition: d3d11shadertracing.h:166
UINT ThreadIDInGroup[3]
Definition: d3d11shadertracing.h:116
RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0002_v0_0_s_ifspec
UINT64 SampleMask
Definition: d3d11shadertracing.h:110
struct D3D11_GEOMETRY_SHADER_TRACE_DESC D3D11_GEOMETRY_SHADER_TRACE_DESC
Definition: d3d11shadertracing.h:100
HRESULT WINAPI D3DDisassemble11Trace(_In_reads_bytes_(SrcDataSize) LPCVOID pSrcData, _In_ SIZE_T SrcDataSize, _In_ ID3D11ShaderTrace *pTrace, _In_ UINT StartStep, _In_ UINT NumSteps, _In_ UINT Flags, _COM_Outptr_ interface ID3D10Blob **ppDisassembly)
BOOL GSInputsPrimitiveID
Definition: d3d11shadertracing.h:170
D3D11_GEOMETRY_SHADER_TRACE_DESC GeometryShaderTraceDesc
Definition: d3d11shadertracing.h:131
D3D11_TRACE_MISC_OPERATIONS_MASK MiscOperations
Definition: d3d11shadertracing.h:250
Definition: d3d11shadertracing.h:201
_In_ UINT _In_ UINT writtenRegisterIndex
Definition: d3d11shadertracing.h:377
Definition: d3d11shadertracing.h:143
Definition: d3d11shadertracing.h:203
_In_ UINT stampIndex
Definition: d3d11shadertracing.h:358
UINT ID
Definition: d3d11shadertracing.h:246
Definition: d3d11shadertracing.h:217
UINT16 NumTemps
Definition: d3d11shadertracing.h:156
UINT64 PixelCoverageMask[4]
Definition: d3d11shadertracing.h:161
Definition: d3d11shadertracing.h:148
Definition: d3d11shadertracing.h:192
UINT16 IndexableTempSize[4096]
Definition: d3d11shadertracing.h:158
_In_ UINT _Out_ D3D11_TRACE_STEP * pTraceStep
Definition: d3d11shadertracing.h:370
UINT Flags
Definition: d3d11shadertracing.h:125
UINT OpcodeType
Definition: d3d11shadertracing.h:251
ULONG(STDMETHODCALLTYPE *AddRef)(ID3D11ShaderTrace *This)
Definition: d3d11shadertracing.h:199
struct D3D11_TRACE_STEP D3D11_TRACE_STEP
Definition: d3d11shadertracing.h:189
uint8_t UINT8
Definition: coretypes.h:12