RetroArch
Classes | Macros | Typedefs | Enumerations | Functions | Variables
d3d11shadertracing.h File Reference
#include "rpc.h"
#include "rpcndr.h"
#include "windows.h"
#include "ole2.h"
#include "oaidl.h"
#include "ocidl.h"
Include dependency graph for d3d11shadertracing.h:

Go to the source code of this file.

Classes

struct  D3D11_VERTEX_SHADER_TRACE_DESC
 
struct  D3D11_HULL_SHADER_TRACE_DESC
 
struct  D3D11_DOMAIN_SHADER_TRACE_DESC
 
struct  D3D11_GEOMETRY_SHADER_TRACE_DESC
 
struct  D3D11_PIXEL_SHADER_TRACE_DESC
 
struct  D3D11_COMPUTE_SHADER_TRACE_DESC
 
struct  D3D11_SHADER_TRACE_DESC
 
struct  D3D11_TRACE_STATS
 
struct  D3D11_TRACE_VALUE
 
struct  D3D11_TRACE_REGISTER
 
struct  D3D11_TRACE_STEP
 
struct  ID3D11ShaderTraceVtbl
 
struct  ID3D11ShaderTraceFactoryVtbl
 

Macros

#define __REQUIRED_RPCNDR_H_VERSION__   475
 
#define __REQUIRED_RPCSAL_H_VERSION__   100
 
#define __ID3D11ShaderTrace_FWD_DEFINED__
 
#define __ID3D11ShaderTraceFactory_FWD_DEFINED__
 
#define D3D11_TRACE_COMPONENT_X   0x1
 
#define D3D11_TRACE_COMPONENT_Y   0x2
 
#define D3D11_TRACE_COMPONENT_Z   0x4
 
#define D3D11_TRACE_COMPONENT_W   0x8
 
#define D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_WRITES   0x1
 
#define D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_READS   0x2
 
#define D3D11_TRACE_REGISTER_FLAGS_RELATIVE_INDEXING   0x1
 
#define D3D11_TRACE_MISC_GS_EMIT   0x1
 
#define D3D11_TRACE_MISC_GS_CUT   0x2
 
#define D3D11_TRACE_MISC_PS_DISCARD   0x4
 
#define D3D11_TRACE_MISC_GS_EMIT_STREAM   0x8
 
#define D3D11_TRACE_MISC_GS_CUT_STREAM   0x10
 
#define D3D11_TRACE_MISC_HALT   0x20
 
#define D3D11_TRACE_MISC_MESSAGE   0x40
 
#define __ID3D11ShaderTrace_INTERFACE_DEFINED__
 
#define __ID3D11ShaderTraceFactory_INTERFACE_DEFINED__
 

Typedefs

typedef interface ID3D11ShaderTrace ID3D11ShaderTrace
 
typedef interface ID3D11ShaderTraceFactory ID3D11ShaderTraceFactory
 
typedef enum D3D11_SHADER_TYPE D3D11_SHADER_TYPE
 
typedef UINT8 D3D11_TRACE_COMPONENT_MASK
 
typedef struct D3D11_VERTEX_SHADER_TRACE_DESC D3D11_VERTEX_SHADER_TRACE_DESC
 
typedef struct D3D11_HULL_SHADER_TRACE_DESC D3D11_HULL_SHADER_TRACE_DESC
 
typedef struct D3D11_DOMAIN_SHADER_TRACE_DESC D3D11_DOMAIN_SHADER_TRACE_DESC
 
typedef struct D3D11_GEOMETRY_SHADER_TRACE_DESC D3D11_GEOMETRY_SHADER_TRACE_DESC
 
typedef struct D3D11_PIXEL_SHADER_TRACE_DESC D3D11_PIXEL_SHADER_TRACE_DESC
 
typedef struct D3D11_COMPUTE_SHADER_TRACE_DESC D3D11_COMPUTE_SHADER_TRACE_DESC
 
typedef struct D3D11_SHADER_TRACE_DESC D3D11_SHADER_TRACE_DESC
 
typedef enum D3D11_TRACE_GS_INPUT_PRIMITIVE D3D11_TRACE_GS_INPUT_PRIMITIVE
 
typedef struct D3D11_TRACE_STATS D3D11_TRACE_STATS
 
typedef struct D3D11_TRACE_VALUE D3D11_TRACE_VALUE
 
typedef enum D3D11_TRACE_REGISTER_TYPE D3D11_TRACE_REGISTER_TYPE
 
typedef struct D3D11_TRACE_REGISTER D3D11_TRACE_REGISTER
 
typedef UINT16 D3D11_TRACE_MISC_OPERATIONS_MASK
 
typedef struct D3D11_TRACE_STEP D3D11_TRACE_STEP
 
typedef struct ID3D11ShaderTraceVtbl ID3D11ShaderTraceVtbl
 
typedef struct ID3D11ShaderTraceFactoryVtbl ID3D11ShaderTraceFactoryVtbl
 

Enumerations

enum  D3D11_SHADER_TYPE {
  D3D11_VERTEX_SHADER = 1, D3D11_HULL_SHADER = 2, D3D11_DOMAIN_SHADER = 3, D3D11_GEOMETRY_SHADER = 4,
  D3D11_PIXEL_SHADER = 5, D3D11_COMPUTE_SHADER = 6
}
 
enum  D3D11_TRACE_GS_INPUT_PRIMITIVE {
  D3D11_TRACE_GS_INPUT_PRIMITIVE_UNDEFINED = 0, D3D11_TRACE_GS_INPUT_PRIMITIVE_POINT = 1, D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE = 2, D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE = 3,
  D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE_ADJ = 6, D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE_ADJ = 7
}
 
enum  D3D11_TRACE_REGISTER_TYPE {
  D3D11_TRACE_OUTPUT_NULL_REGISTER = 0, D3D11_TRACE_INPUT_REGISTER = ( D3D11_TRACE_OUTPUT_NULL_REGISTER + 1 ), D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER = ( D3D11_TRACE_INPUT_REGISTER + 1 ), D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER = ( D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER + 1 ),
  D3D11_TRACE_TEMP_REGISTER = ( D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER + 1 ), D3D11_TRACE_INDEXABLE_TEMP_REGISTER = ( D3D11_TRACE_TEMP_REGISTER + 1 ), D3D11_TRACE_OUTPUT_REGISTER = ( D3D11_TRACE_INDEXABLE_TEMP_REGISTER + 1 ), D3D11_TRACE_OUTPUT_DEPTH_REGISTER = ( D3D11_TRACE_OUTPUT_REGISTER + 1 ),
  D3D11_TRACE_CONSTANT_BUFFER = ( D3D11_TRACE_OUTPUT_DEPTH_REGISTER + 1 ), D3D11_TRACE_IMMEDIATE32 = ( D3D11_TRACE_CONSTANT_BUFFER + 1 ), D3D11_TRACE_SAMPLER = ( D3D11_TRACE_IMMEDIATE32 + 1 ), D3D11_TRACE_RESOURCE = ( D3D11_TRACE_SAMPLER + 1 ),
  D3D11_TRACE_RASTERIZER = ( D3D11_TRACE_RESOURCE + 1 ), D3D11_TRACE_OUTPUT_COVERAGE_MASK = ( D3D11_TRACE_RASTERIZER + 1 ), D3D11_TRACE_STREAM = ( D3D11_TRACE_OUTPUT_COVERAGE_MASK + 1 ), D3D11_TRACE_THIS_POINTER = ( D3D11_TRACE_STREAM + 1 ),
  D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER = ( D3D11_TRACE_THIS_POINTER + 1 ), D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER = ( D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER + 1 ), D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER = ( D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER + 1 ), D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER = ( D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER + 1 ),
  D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER = ( D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER + 1 ), D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER = ( D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER + 1 ), D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER = ( D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER + 1 ), D3D11_TRACE_UNORDERED_ACCESS_VIEW = ( D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER + 1 ),
  D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY = ( D3D11_TRACE_UNORDERED_ACCESS_VIEW + 1 ), D3D11_TRACE_INPUT_THREAD_ID_REGISTER = ( D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY + 1 ), D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER = ( D3D11_TRACE_INPUT_THREAD_ID_REGISTER + 1 ), D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER = ( D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER + 1 ),
  D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER = ( D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER + 1 ), D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER = ( D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER + 1 ), D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER = ( D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER + 1 ), D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER = ( D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER + 1 ),
  D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER = ( D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER + 1 ), D3D11_TRACE_IMMEDIATE64 = ( D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER + 1 ), D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER = ( D3D11_TRACE_IMMEDIATE64 + 1 ), D3D11_TRACE_INTERFACE_POINTER = ( D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER + 1 )
}
 

Functions

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)
 

Variables

RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0000_v0_0_c_ifspec
 
RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0000_v0_0_s_ifspec
 
EXTERN_C const IID IID_ID3D11ShaderTrace
 
EXTERN_C const IID IID_ID3D11ShaderTraceFactory
 
RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0002_v0_0_c_ifspec
 
RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0002_v0_0_s_ifspec
 

Macro Definition Documentation

◆ __ID3D11ShaderTrace_FWD_DEFINED__

#define __ID3D11ShaderTrace_FWD_DEFINED__

◆ __ID3D11ShaderTrace_INTERFACE_DEFINED__

#define __ID3D11ShaderTrace_INTERFACE_DEFINED__

◆ __ID3D11ShaderTraceFactory_FWD_DEFINED__

#define __ID3D11ShaderTraceFactory_FWD_DEFINED__

◆ __ID3D11ShaderTraceFactory_INTERFACE_DEFINED__

#define __ID3D11ShaderTraceFactory_INTERFACE_DEFINED__

◆ __REQUIRED_RPCNDR_H_VERSION__

#define __REQUIRED_RPCNDR_H_VERSION__   475

◆ __REQUIRED_RPCSAL_H_VERSION__

#define __REQUIRED_RPCSAL_H_VERSION__   100

◆ D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_READS

#define D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_READS   0x2

◆ D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_WRITES

#define D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_WRITES   0x1

◆ D3D11_TRACE_COMPONENT_W

#define D3D11_TRACE_COMPONENT_W   0x8

◆ D3D11_TRACE_COMPONENT_X

#define D3D11_TRACE_COMPONENT_X   0x1

◆ D3D11_TRACE_COMPONENT_Y

#define D3D11_TRACE_COMPONENT_Y   0x2

◆ D3D11_TRACE_COMPONENT_Z

#define D3D11_TRACE_COMPONENT_Z   0x4

◆ D3D11_TRACE_MISC_GS_CUT

#define D3D11_TRACE_MISC_GS_CUT   0x2

◆ D3D11_TRACE_MISC_GS_CUT_STREAM

#define D3D11_TRACE_MISC_GS_CUT_STREAM   0x10

◆ D3D11_TRACE_MISC_GS_EMIT

#define D3D11_TRACE_MISC_GS_EMIT   0x1

◆ D3D11_TRACE_MISC_GS_EMIT_STREAM

#define D3D11_TRACE_MISC_GS_EMIT_STREAM   0x8

◆ D3D11_TRACE_MISC_HALT

#define D3D11_TRACE_MISC_HALT   0x20

◆ D3D11_TRACE_MISC_MESSAGE

#define D3D11_TRACE_MISC_MESSAGE   0x40

◆ D3D11_TRACE_MISC_PS_DISCARD

#define D3D11_TRACE_MISC_PS_DISCARD   0x4

◆ D3D11_TRACE_REGISTER_FLAGS_RELATIVE_INDEXING

#define D3D11_TRACE_REGISTER_FLAGS_RELATIVE_INDEXING   0x1

Typedef Documentation

◆ D3D11_COMPUTE_SHADER_TRACE_DESC

◆ D3D11_DOMAIN_SHADER_TRACE_DESC

◆ D3D11_GEOMETRY_SHADER_TRACE_DESC

◆ D3D11_HULL_SHADER_TRACE_DESC

◆ D3D11_PIXEL_SHADER_TRACE_DESC

◆ D3D11_SHADER_TRACE_DESC

◆ D3D11_SHADER_TYPE

◆ D3D11_TRACE_COMPONENT_MASK

◆ D3D11_TRACE_GS_INPUT_PRIMITIVE

◆ D3D11_TRACE_MISC_OPERATIONS_MASK

◆ D3D11_TRACE_REGISTER

◆ D3D11_TRACE_REGISTER_TYPE

◆ D3D11_TRACE_STATS

◆ D3D11_TRACE_STEP

◆ D3D11_TRACE_VALUE

◆ D3D11_VERTEX_SHADER_TRACE_DESC

◆ ID3D11ShaderTrace

◆ ID3D11ShaderTraceFactory

◆ ID3D11ShaderTraceFactoryVtbl

◆ ID3D11ShaderTraceVtbl

Enumeration Type Documentation

◆ D3D11_SHADER_TYPE

Enumerator
D3D11_VERTEX_SHADER 
D3D11_HULL_SHADER 
D3D11_DOMAIN_SHADER 
D3D11_GEOMETRY_SHADER 
D3D11_PIXEL_SHADER 
D3D11_COMPUTE_SHADER 

◆ D3D11_TRACE_GS_INPUT_PRIMITIVE

Enumerator
D3D11_TRACE_GS_INPUT_PRIMITIVE_UNDEFINED 
D3D11_TRACE_GS_INPUT_PRIMITIVE_POINT 
D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE 
D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE 
D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE_ADJ 
D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE_ADJ 

◆ D3D11_TRACE_REGISTER_TYPE

Enumerator
D3D11_TRACE_OUTPUT_NULL_REGISTER 
D3D11_TRACE_INPUT_REGISTER 
D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER 
D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER 
D3D11_TRACE_TEMP_REGISTER 
D3D11_TRACE_INDEXABLE_TEMP_REGISTER 
D3D11_TRACE_OUTPUT_REGISTER 
D3D11_TRACE_OUTPUT_DEPTH_REGISTER 
D3D11_TRACE_CONSTANT_BUFFER 
D3D11_TRACE_IMMEDIATE32 
D3D11_TRACE_SAMPLER 
D3D11_TRACE_RESOURCE 
D3D11_TRACE_RASTERIZER 
D3D11_TRACE_OUTPUT_COVERAGE_MASK 
D3D11_TRACE_STREAM 
D3D11_TRACE_THIS_POINTER 
D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER 
D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER 
D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER 
D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER 
D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER 
D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER 
D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER 
D3D11_TRACE_UNORDERED_ACCESS_VIEW 
D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY 
D3D11_TRACE_INPUT_THREAD_ID_REGISTER 
D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER 
D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER 
D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER 
D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER 
D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER 
D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER 
D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER 
D3D11_TRACE_IMMEDIATE64 
D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER 
D3D11_TRACE_INTERFACE_POINTER 

Function Documentation

◆ D3DDisassemble11Trace()

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 
)

Variable Documentation

◆ __MIDL_itf_d3d11ShaderTracing_0000_0000_v0_0_c_ifspec

RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0000_v0_0_c_ifspec

◆ __MIDL_itf_d3d11ShaderTracing_0000_0000_v0_0_s_ifspec

RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0000_v0_0_s_ifspec

◆ __MIDL_itf_d3d11ShaderTracing_0000_0002_v0_0_c_ifspec

RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0002_v0_0_c_ifspec

◆ __MIDL_itf_d3d11ShaderTracing_0000_0002_v0_0_s_ifspec

RPC_IF_HANDLE __MIDL_itf_d3d11ShaderTracing_0000_0002_v0_0_s_ifspec

◆ IID_ID3D11ShaderTrace

EXTERN_C const IID IID_ID3D11ShaderTrace

◆ IID_ID3D11ShaderTraceFactory

EXTERN_C const IID IID_ID3D11ShaderTraceFactory