ReactOS 0.4.17-dev-966-gf06eace
d3d11shader.h File Reference
#include "d3dcommon.h"
Include dependency graph for d3d11shader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _D3D11_SHADER_DESC
 
struct  _D3D11_SHADER_VARIABLE_DESC
 
struct  _D3D11_SHADER_TYPE_DESC
 
struct  _D3D11_SHADER_BUFFER_DESC
 
struct  _D3D11_SHADER_INPUT_BIND_DESC
 
struct  _D3D11_SIGNATURE_PARAMETER_DESC
 

Macros

#define D3D_COMPILER_VERSION   47
 
#define D3D_SHADER_REQUIRES_DOUBLES   0x00000001
 
#define D3D_SHADER_REQUIRES_EARLY_DEPTH_STENCIL   0x00000002
 
#define D3D_SHADER_REQUIRES_UAVS_AT_EVERY_STAGE   0x00000004
 
#define D3D_SHADER_REQUIRES_64_UAVS   0x00000008
 
#define D3D_SHADER_REQUIRES_MINIMUM_PRECISION   0x00000010
 
#define D3D_SHADER_REQUIRES_11_1_DOUBLE_EXTENSIONS   0x00000020
 
#define D3D_SHADER_REQUIRES_11_1_SHADER_EXTENSIONS   0x00000040
 
#define D3D_SHADER_REQUIRES_LEVEL_9_COMPARISON_FILTERING   0x00000080
 
#define D3D_SHADER_REQUIRES_TILED_RESOURCES   0x00000100
 
#define INTERFACE   ID3D11ShaderReflectionType
 
#define INTERFACE   ID3D11ShaderReflectionVariable
 
#define INTERFACE   ID3D11ShaderReflectionConstantBuffer
 
#define INTERFACE   ID3D11ShaderReflection
 
#define INTERFACE   ID3D11ModuleInstance
 
#define INTERFACE   ID3D11Module
 
#define INTERFACE   ID3D11Linker
 

Typedefs

typedef D3D_CBUFFER_TYPE D3D11_CBUFFER_TYPE
 
typedef D3D_RESOURCE_RETURN_TYPE D3D11_RESOURCE_RETURN_TYPE
 
typedef D3D_TESSELLATOR_DOMAIN D3D11_TESSELLATOR_DOMAIN
 
typedef D3D_TESSELLATOR_PARTITIONING D3D11_TESSELLATOR_PARTITIONING
 
typedef D3D_TESSELLATOR_OUTPUT_PRIMITIVE D3D11_TESSELLATOR_OUTPUT_PRIMITIVE
 
typedef struct _D3D11_SHADER_DESC D3D11_SHADER_DESC
 
typedef struct _D3D11_SHADER_VARIABLE_DESC D3D11_SHADER_VARIABLE_DESC
 
typedef struct _D3D11_SHADER_TYPE_DESC D3D11_SHADER_TYPE_DESC
 
typedef struct _D3D11_SHADER_BUFFER_DESC D3D11_SHADER_BUFFER_DESC
 
typedef struct _D3D11_SHADER_INPUT_BIND_DESC D3D11_SHADER_INPUT_BIND_DESC
 
typedef struct _D3D11_SIGNATURE_PARAMETER_DESC D3D11_SIGNATURE_PARAMETER_DESC
 

Functions

 DEFINE_GUID (IID_ID3D11ShaderReflectionType, 0x6e6ffa6a, 0x9bae, 0x4613, 0xa5, 0x1e, 0x91, 0x65, 0x2d, 0x50, 0x8c, 0x21)
 
 DECLARE_INTERFACE (ID3D11ShaderReflectionType)
 
 DEFINE_GUID (IID_ID3D11ShaderReflectionVariable, 0x51f23923, 0xf3e5, 0x4bd1, 0x91, 0xcb, 0x60, 0x61, 0x77, 0xd8, 0xdb, 0x4c)
 
 DECLARE_INTERFACE (ID3D11ShaderReflectionVariable)
 
 DEFINE_GUID (IID_ID3D11ShaderReflectionConstantBuffer, 0xeb62d63d, 0x93dd, 0x4318, 0x8a, 0xe8, 0xc6, 0xf8, 0x3a, 0xd3, 0x71, 0xb8)
 
 DECLARE_INTERFACE (ID3D11ShaderReflectionConstantBuffer)
 
 DEFINE_GUID (IID_ID3D11ShaderReflection, 0x8d536ca1, 0x0cca, 0x4956, 0xa8, 0x37, 0x78, 0x69, 0x63, 0x75, 0x55, 0x84)
 
 DECLARE_INTERFACE_ (ID3D11ShaderReflection, IUnknown)
 
 DEFINE_GUID (IID_ID3D11ModuleInstance, 0x469e07f7, 0x45a, 0x48d5, 0xaa, 0x12, 0x68, 0xa4, 0x78, 0xcd, 0xf7, 0x5d)
 
 DECLARE_INTERFACE_ (ID3D11ModuleInstance, IUnknown)
 
 DEFINE_GUID (IID_ID3D11Module, 0xcac701ee, 0x80fc, 0x4122, 0x82, 0x42, 0x10, 0xb3, 0x9c, 0x8c, 0xec, 0x34)
 
 DECLARE_INTERFACE_ (ID3D11Module, IUnknown)
 
 DEFINE_GUID (IID_ID3D11Linker, 0x59a6cd0e, 0xe10d, 0x4c1f, 0x88, 0xc0, 0x63, 0xab, 0xa1, 0xda, 0xf3, 0x0e)
 
 DECLARE_INTERFACE_ (ID3D11Linker, IUnknown)
 

Macro Definition Documentation

◆ D3D_COMPILER_VERSION

#define D3D_COMPILER_VERSION   47

Definition at line 26 of file d3d11shader.h.

◆ D3D_SHADER_REQUIRES_11_1_DOUBLE_EXTENSIONS

#define D3D_SHADER_REQUIRES_11_1_DOUBLE_EXTENSIONS   0x00000020

Definition at line 34 of file d3d11shader.h.

◆ D3D_SHADER_REQUIRES_11_1_SHADER_EXTENSIONS

#define D3D_SHADER_REQUIRES_11_1_SHADER_EXTENSIONS   0x00000040

Definition at line 35 of file d3d11shader.h.

◆ D3D_SHADER_REQUIRES_64_UAVS

#define D3D_SHADER_REQUIRES_64_UAVS   0x00000008

Definition at line 32 of file d3d11shader.h.

◆ D3D_SHADER_REQUIRES_DOUBLES

#define D3D_SHADER_REQUIRES_DOUBLES   0x00000001

Definition at line 29 of file d3d11shader.h.

◆ D3D_SHADER_REQUIRES_EARLY_DEPTH_STENCIL

#define D3D_SHADER_REQUIRES_EARLY_DEPTH_STENCIL   0x00000002

Definition at line 30 of file d3d11shader.h.

◆ D3D_SHADER_REQUIRES_LEVEL_9_COMPARISON_FILTERING

#define D3D_SHADER_REQUIRES_LEVEL_9_COMPARISON_FILTERING   0x00000080

Definition at line 36 of file d3d11shader.h.

◆ D3D_SHADER_REQUIRES_MINIMUM_PRECISION

#define D3D_SHADER_REQUIRES_MINIMUM_PRECISION   0x00000010

Definition at line 33 of file d3d11shader.h.

◆ D3D_SHADER_REQUIRES_TILED_RESOURCES

#define D3D_SHADER_REQUIRES_TILED_RESOURCES   0x00000100

Definition at line 37 of file d3d11shader.h.

◆ D3D_SHADER_REQUIRES_UAVS_AT_EVERY_STAGE

#define D3D_SHADER_REQUIRES_UAVS_AT_EVERY_STAGE   0x00000004

Definition at line 31 of file d3d11shader.h.

◆ INTERFACE [1/7]

Definition at line 276 of file d3d11shader.h.

◆ INTERFACE [2/7]

◆ INTERFACE [3/7]

◆ INTERFACE [4/7]

Definition at line 276 of file d3d11shader.h.

◆ INTERFACE [5/7]

#define INTERFACE   ID3D11ModuleInstance

Definition at line 276 of file d3d11shader.h.

◆ INTERFACE [6/7]

#define INTERFACE   ID3D11Module

Definition at line 276 of file d3d11shader.h.

◆ INTERFACE [7/7]

#define INTERFACE   ID3D11Linker

Definition at line 276 of file d3d11shader.h.

Typedef Documentation

◆ D3D11_CBUFFER_TYPE

Definition at line 40 of file d3d11shader.h.

◆ D3D11_RESOURCE_RETURN_TYPE

◆ D3D11_SHADER_BUFFER_DESC

◆ D3D11_SHADER_DESC

◆ D3D11_SHADER_INPUT_BIND_DESC

◆ D3D11_SHADER_TYPE_DESC

◆ D3D11_SHADER_VARIABLE_DESC

◆ D3D11_SIGNATURE_PARAMETER_DESC

◆ D3D11_TESSELLATOR_DOMAIN

Definition at line 44 of file d3d11shader.h.

◆ D3D11_TESSELLATOR_OUTPUT_PRIMITIVE

◆ D3D11_TESSELLATOR_PARTITIONING

Function Documentation

◆ DECLARE_INTERFACE() [1/3]

DECLARE_INTERFACE ( ID3D11ShaderReflectionConstantBuffer  )

Definition at line 187 of file d3d11shader.h.

188{
190 STDMETHOD_(struct ID3D11ShaderReflectionVariable *, GetVariableByIndex)(THIS_ UINT index) PURE;
191 STDMETHOD_(struct ID3D11ShaderReflectionVariable *, GetVariableByName)(THIS_ const char *name) PURE;
192};
#define index(s, c)
Definition: various.h:29
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
#define ID3D11ShaderReflectionVariable
Definition: reflection.c:32
unsigned int UINT
Definition: sysinfo.c:13
D3D11_SHADER_VARIABLE_DESC desc
Definition: reflection.c:1683
Definition: name.c:39

◆ DECLARE_INTERFACE() [2/3]

DECLARE_INTERFACE ( ID3D11ShaderReflectionType  )

Definition at line 156 of file d3d11shader.h.

157{
159 STDMETHOD_(struct ID3D11ShaderReflectionType *, GetMemberTypeByIndex)(THIS_ UINT index) PURE;
160 STDMETHOD_(struct ID3D11ShaderReflectionType *, GetMemberTypeByName)(THIS_ const char *name) PURE;
161 STDMETHOD_(const char *, GetMemberTypeName)(THIS_ UINT index) PURE;
163 STDMETHOD_(struct ID3D11ShaderReflectionType *, GetSubType)(THIS) PURE;
164 STDMETHOD_(struct ID3D11ShaderReflectionType *, GetBaseClass)(THIS) PURE;
166 STDMETHOD_(struct ID3D11ShaderReflectionType *, GetInterfaceByIndex)(THIS_ UINT index) PURE;
168 STDMETHOD(ImplementsInterface)(THIS_ ID3D11ShaderReflectionType *base) PURE;
169};
#define THIS
Definition: basetyps.h:66
#define ID3D11ShaderReflectionType
Definition: reflection.c:30
@ IsEqual
Definition: fatprocs.h:1887
return pUsbDevice GetNumInterfaces()
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545

◆ DECLARE_INTERFACE() [3/3]

DECLARE_INTERFACE ( ID3D11ShaderReflectionVariable  )

Definition at line 175 of file d3d11shader.h.

176{
180 STDMETHOD_(UINT, GetInterfaceSlot)(THIS_ UINT index) PURE;
181};
#define ID3D11ShaderReflectionConstantBuffer
Definition: reflection.c:28
return pMemory GetBuffer()
#define GetType(This)
Definition: conio.h:54

◆ DECLARE_INTERFACE_() [1/4]

DECLARE_INTERFACE_ ( ID3D11Linker  ,
IUnknown   
)

Definition at line 277 of file d3d11shader.h.

278{
282
283 /* ID3D11Linker methods */
284 STDMETHOD(Link)(THIS_ ID3D11ModuleInstance *instance, LPCSTR instname, LPCSTR targetname, UINT flags, ID3DBlob **shader, ID3DBlob **error) PURE;
285 STDMETHOD(UseLibrary)(THIS_ ID3D11ModuleInstance *libinstance) PURE;
286 STDMETHOD(AddClipPlaneFromCBuffer)(THIS_ UINT bufferslot, UINT bufferentry) PURE;
287};
_In_ BOOLEAN Release
Definition: cdrom.h:920
_Check_return_ _In_ PQUERY_INTERFACE QueryInterface
Definition: dispmprt.h:1318
static HINSTANCE instance
Definition: main.c:35
GLuint shader
Definition: glext.h:6030
GLbitfield flags
Definition: glext.h:7161
#define error(str)
Definition: mkdosfs.c:1605
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:83
#define REFIID
Definition: guiddef.h:118
const char * LPCSTR
Definition: typedefs.h:52
uint32_t ULONG
Definition: typedefs.h:59
static int Link(const char **args)
Definition: vfdcmd.c:2414
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
Definition: wcsftime.cpp:383

◆ DECLARE_INTERFACE_() [2/4]

DECLARE_INTERFACE_ ( ID3D11Module  ,
IUnknown   
)

Definition at line 263 of file d3d11shader.h.

264{
268
269 /* ID3D11Module methods */
270 STDMETHOD(CreateInstance)(THIS_ const char *instnamespace, ID3D11ModuleInstance **moduleinstance) PURE;
271};
static CInternetFolder * CreateInstance(void)
Definition: inetfolder.c:330

◆ DECLARE_INTERFACE_() [3/4]

DECLARE_INTERFACE_ ( ID3D11ModuleInstance  ,
IUnknown   
)

Definition at line 236 of file d3d11shader.h.

237{
241
242 /* ID3D11ModuleInstance methods */
243 STDMETHOD(BindConstantBuffer)(THIS_ UINT srcslot, UINT dstslot, UINT dstoffset) PURE;
244 STDMETHOD(BindConstantBufferByName)(THIS_ const char *name, UINT dstslot, UINT dstoffset) PURE;
245
246 STDMETHOD(BindResource)(THIS_ UINT srcslot, UINT dstslot, UINT count) PURE;
247 STDMETHOD(BindResourceByName)(THIS_ const char *name, UINT dstslot, UINT count) PURE;
248
249 STDMETHOD(BindSampler)(THIS_ UINT srcslot, UINT dstslot, UINT count) PURE;
250 STDMETHOD(BindSamplerByName)(THIS_ const char *name, UINT dstslot, UINT count) PURE;
251
252 STDMETHOD(BindUnorderedAccessView)(THIS_ UINT srcslot, UINT dstslot, UINT count) PURE;
253 STDMETHOD(BindUnorderedAccessViewByName)(THIS_ const char *name, UINT dstslot, UINT count) PURE;
254
255 STDMETHOD(BindResourceAsUnorderedAccessView)(THIS_ UINT srcslot, UINT dstslot, UINT count) PURE;
256 STDMETHOD(BindResourceAsUnorderedAccessViewByName)(THIS_ const char *name, UINT dstslot, UINT count) PURE;
257};
GLuint GLuint GLsizei count
Definition: gl.h:1545

◆ DECLARE_INTERFACE_() [4/4]

DECLARE_INTERFACE_ ( ID3D11ShaderReflection  ,
IUnknown   
)

Definition at line 204 of file d3d11shader.h.

205{
206 /* IUnknown methods */
210 /* ID3D11ShaderReflection methods */
212 STDMETHOD_(struct ID3D11ShaderReflectionConstantBuffer *, GetConstantBufferByIndex)(THIS_ UINT index) PURE;
213 STDMETHOD_(struct ID3D11ShaderReflectionConstantBuffer *, GetConstantBufferByName)(THIS_ const char *name) PURE;
217 STDMETHOD(GetPatchConstantParameterDesc)(THIS_ UINT index, D3D11_SIGNATURE_PARAMETER_DESC *desc) PURE;
218 STDMETHOD_(struct ID3D11ShaderReflectionVariable *, GetVariableByName)(THIS_ const char *name) PURE;
219 STDMETHOD(GetResourceBindingDescByName)(THIS_ const char *name, D3D11_SHADER_INPUT_BIND_DESC *desc) PURE;
220 STDMETHOD_(UINT, GetMovInstructionCount)(THIS) PURE;
221 STDMETHOD_(UINT, GetMovcInstructionCount)(THIS) PURE;
222 STDMETHOD_(UINT, GetConversionInstructionCount)(THIS) PURE;
223 STDMETHOD_(UINT, GetBitwiseInstructionCount)(THIS) PURE;
224 STDMETHOD_(D3D_PRIMITIVE, GetGSInputPrimitive)(THIS) PURE;
225 STDMETHOD_(BOOL, IsSampleFrequencyShader)(THIS) PURE;
226 STDMETHOD_(UINT, GetNumInterfaceSlots)(THIS) PURE;
227 STDMETHOD(GetMinFeatureLevel)(THIS_ enum D3D_FEATURE_LEVEL *level) PURE;
228 STDMETHOD_(UINT, GetThreadGroupSize)(THIS_ UINT *sizex, UINT *sizey, UINT *sizez) PURE;
229 STDMETHOD_(UINT64, GetRequiresFlags)(THIS) PURE;
230};
COMPILER_DEPENDENT_UINT64 UINT64
Definition: actypes.h:131
D3D_FEATURE_LEVEL
Definition: d3dcommon.idl:102
D3D_PRIMITIVE
Definition: d3dcommon.idl:298
unsigned int BOOL
Definition: ntddk_ex.h:94
GLint level
Definition: gl.h:1546
REFIID riid
Definition: atlbase.h:39

◆ DEFINE_GUID() [1/7]

DEFINE_GUID ( IID_ID3D11Linker  ,
0x59a6cd0e  ,
0xe10d  ,
0x4c1f  ,
0x88  ,
0xc0  ,
0x63  ,
0xab  ,
0xa1  ,
0xda  ,
0xf3  ,
0x0e   
)

◆ DEFINE_GUID() [2/7]

DEFINE_GUID ( IID_ID3D11Module  ,
0xcac701ee  ,
0x80fc  ,
0x4122  ,
0x82  ,
0x42  ,
0x10  ,
0xb3  ,
0x9c  ,
0x8c  ,
0xec  ,
0x34   
)

◆ DEFINE_GUID() [3/7]

DEFINE_GUID ( IID_ID3D11ModuleInstance  ,
0x469e07f7  ,
0x45a  ,
0x48d5  ,
0xaa  ,
0x12  ,
0x68  ,
0xa4  ,
0x78  ,
0xcd  ,
0xf7  ,
0x5d   
)

◆ DEFINE_GUID() [4/7]

DEFINE_GUID ( IID_ID3D11ShaderReflection  ,
0x8d536ca1  ,
0x0cca  ,
0x4956  ,
0xa8  ,
0x37  ,
0x78  ,
0x69  ,
0x63  ,
0x75  ,
0x55  ,
0x84   
)

◆ DEFINE_GUID() [5/7]

DEFINE_GUID ( IID_ID3D11ShaderReflectionConstantBuffer  ,
0xeb62d63d  ,
0x93dd  ,
0x4318  ,
0x8a  ,
0xe8  ,
0xc6  ,
0xf8  ,
0x3a  ,
0xd3  ,
0x71  ,
0xb8   
)

◆ DEFINE_GUID() [6/7]

DEFINE_GUID ( IID_ID3D11ShaderReflectionType  ,
0x6e6ffa6a  ,
0x9bae  ,
0x4613  ,
0xa5  ,
0x1e  ,
0x91  ,
0x65  ,
0x2d  ,
0x50  ,
0x8c  ,
0x21   
)

◆ DEFINE_GUID() [7/7]

DEFINE_GUID ( IID_ID3D11ShaderReflectionVariable  ,
0x51f23923  ,
0xf3e5  ,
0x4bd1  ,
0x91  ,
0xcb  ,
0x60  ,
0x61  ,
0x77  ,
0xd8  ,
0xdb  ,
0x4c   
)