20#ifndef __WINE_D3D10EFFECT_H
21#define __WINE_D3D10EFFECT_H
25#define D3D10_EFFECT_VARIABLE_POOLED 0x1
26#define D3D10_EFFECT_VARIABLE_ANNOTATION 0x2
27#define D3D10_EFFECT_VARIABLE_EXPLICIT_BIND_POINT 0x4
29#ifndef D3D10_BYTES_FROM_BITS
30#define D3D10_BYTES_FROM_BITS(x) (((x) + 7) >> 3)
158#define D3D10_EFFECT_COMPILE_CHILD_EFFECT 0x0001
159#define D3D10_EFFECT_COMPILE_ALLOW_SLOW_OPS 0x0002
160#define D3D10_EFFECT_SINGLE_THREADED 0x0008
162DEFINE_GUID(IID_ID3D10EffectType, 0x4e9e1ddc, 0xcd9d, 0x4772, 0xa8, 0x37, 0x00, 0x18, 0x0b, 0x9b, 0x88, 0xfd);
164#define INTERFACE ID3D10EffectType
171 STDMETHOD_(
struct ID3D10EffectType *, GetMemberTypeBySemantic)(
THIS_ const char *semantic)
PURE;
177DEFINE_GUID(IID_ID3D10EffectVariable, 0xae897105, 0x00e6, 0x45bf, 0xbb, 0x8e, 0x28, 0x1d, 0xd6, 0xdb, 0x8e, 0x1b);
179#define INTERFACE ID3D10EffectVariable
189 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
197 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
198 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
210DEFINE_GUID(IID_ID3D10EffectConstantBuffer, 0x56648f4d, 0xcc8b, 0x4444, 0xa5, 0xad, 0xb5, 0xa3, 0xd7, 0x6e, 0x91, 0xb3);
212#define INTERFACE ID3D10EffectConstantBuffer
223 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
231 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
232 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
249DEFINE_GUID(IID_ID3D10EffectScalarVariable, 0x00e48f7b, 0xd2c8, 0x49e8, 0xa8, 0x6c, 0x02, 0x2d, 0xee, 0x53, 0x43, 0x1f);
251#define INTERFACE ID3D10EffectScalarVariable
262 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
270 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
271 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
296DEFINE_GUID(IID_ID3D10EffectVectorVariable, 0x62b98c44, 0x1f82, 0x4c67, 0xbc, 0xd0, 0x72, 0xcf, 0x8f, 0x21, 0x7e, 0x81);
298#define INTERFACE ID3D10EffectVectorVariable
309 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
317 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
318 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
343DEFINE_GUID(IID_ID3D10EffectMatrixVariable, 0x50666c24, 0xb82f, 0x4eed, 0xa1, 0x72, 0x5b, 0x6e, 0x7e, 0x85, 0x22, 0xe0);
345#define INTERFACE ID3D10EffectMatrixVariable
356 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
364 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
365 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
386DEFINE_GUID(IID_ID3D10EffectStringVariable, 0x71417501, 0x8df9, 0x4e0a, 0xa7, 0x8a, 0x25, 0x5f, 0x97, 0x56, 0xba, 0xff);
388#define INTERFACE ID3D10EffectStringVariable
399 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
407 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
408 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
424 0xc0a7157b, 0xd872, 0x4b1d, 0x80, 0x73, 0xef, 0xc2, 0xac, 0xd4, 0xb1, 0xfc);
426#define INTERFACE ID3D10EffectShaderResourceVariable
437 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
445 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
446 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
464 0x28ca0cc3, 0xc2c9, 0x40bb, 0xb5, 0x7f, 0x67, 0xb7, 0x37, 0x12, 0x2b, 0x17);
466#define INTERFACE ID3D10EffectRenderTargetViewVariable
477 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
485 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
486 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
504 0x3e02c918, 0xcc79, 0x4985, 0xb6, 0x22, 0x2d, 0x92, 0xad, 0x70, 0x16, 0x23);
506#define INTERFACE ID3D10EffectDepthStencilViewVariable
517 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
525 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
526 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
543DEFINE_GUID(IID_ID3D10EffectShaderVariable, 0x80849279, 0xc799, 0x4797, 0x8c, 0x33, 0x04, 0x07, 0xa0, 0x7d, 0x9e, 0x06);
545#define INTERFACE ID3D10EffectShaderVariable
556 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
564 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
565 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
586DEFINE_GUID(IID_ID3D10EffectBlendVariable, 0x1fcd2294, 0xdf6d, 0x4eae, 0x86, 0xb3, 0x0e, 0x91, 0x60, 0xcf, 0xb0, 0x7b);
588#define INTERFACE ID3D10EffectBlendVariable
599 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
607 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
608 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
624 0xaf482368, 0x330a, 0x46a5, 0x9a, 0x5c, 0x01, 0xc7, 0x1a, 0xf2, 0x4c, 0x8d);
626#define INTERFACE ID3D10EffectDepthStencilVariable
637 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
645 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
646 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
662 0x21af9f0e, 0x4d94, 0x4ea9, 0x97, 0x85, 0x2c, 0xb7, 0x6b, 0x8c, 0x0b, 0x34);
664#define INTERFACE ID3D10EffectRasterizerVariable
675 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
683 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
684 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
700 0x6530d5c7, 0x07e9, 0x4271, 0xa4, 0x18, 0xe7, 0xce, 0x4b, 0xd1, 0xe4, 0x80);
702#define INTERFACE ID3D10EffectSamplerVariable
713 STDMETHOD_(
struct ID3D10EffectVariable *, GetMemberBySemantic)(
THIS_ const char *semantic)
PURE;
721 STDMETHOD_(
struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(
THIS)
PURE;
722 STDMETHOD_(
struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(
THIS)
PURE;
737DEFINE_GUID(IID_ID3D10EffectTechnique, 0xdb122ce8, 0xd1c9, 0x4292, 0xb2, 0x37, 0x24, 0xed, 0x3d, 0xe8, 0xb1, 0x75);
739#define INTERFACE ID3D10EffectTechnique
752DEFINE_GUID(IID_ID3D10Effect, 0x51b0ca8b, 0xec0b, 0x4519, 0x87, 0x0d, 0x8e, 0xe1, 0xcb, 0x50, 0x17, 0xc7);
754#define INTERFACE ID3D10Effect
770 STDMETHOD_(
struct ID3D10EffectVariable *, GetVariableBySemantic)(
THIS_ const char *semantic)
PURE;
778DEFINE_GUID(IID_ID3D10EffectPool, 0x9537ab04, 0x3250, 0x412e, 0x82, 0x13, 0xfc, 0xd2, 0xf8, 0x67, 0x79, 0x33);
780#define INTERFACE ID3D10EffectPool
792DEFINE_GUID(IID_ID3D10EffectPass, 0x5cfbeb89, 0x1a06, 0x46e0, 0xb2, 0x82, 0xe3, 0xf9, 0xbf, 0xa3, 0x6a, 0x54);
794#define INTERFACE ID3D10EffectPass
809DEFINE_GUID(IID_ID3D10StateBlock, 0x0803425a, 0x57f5, 0x4dd6, 0x94, 0x65, 0xa8, 0x75, 0x70, 0x83, 0x4a, 0x08);
811#define INTERFACE ID3D10StateBlock
static LPVOID GetResource(LPCWSTR FontName, LPDWORD Size)
#define DECLARE_INTERFACE_(i, b)
#define DECLARE_INTERFACE(i)
const unsigned int D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT
const unsigned int D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT
const unsigned int D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT
const unsigned int D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT
struct _D3D10_PASS_SHADER_DESC D3D10_PASS_SHADER_DESC
struct _D3D10_EFFECT_TYPE_DESC D3D10_EFFECT_TYPE_DESC
enum _D3D10_DEVICE_STATE_TYPES D3D10_DEVICE_STATE_TYPES
#define D3D10_BYTES_FROM_BITS(x)
HRESULT WINAPI D3D10CompileEffectFromMemory(void *data, SIZE_T data_size, const char *filename, const D3D10_SHADER_MACRO *defines, ID3D10Include *include, UINT hlsl_flags, UINT fx_flags, ID3D10Blob **effect, ID3D10Blob **errors)
HRESULT WINAPI D3D10StateBlockMaskEnableCapture(D3D10_STATE_BLOCK_MASK *mask, D3D10_DEVICE_STATE_TYPES state_type, UINT start_idx, UINT count)
HRESULT WINAPI D3D10StateBlockMaskEnableAll(D3D10_STATE_BLOCK_MASK *mask)
HRESULT WINAPI D3D10StateBlockMaskDisableAll(D3D10_STATE_BLOCK_MASK *mask)
struct _D3D10_PASS_DESC D3D10_PASS_DESC
struct _D3D10_EFFECT_SHADER_DESC D3D10_EFFECT_SHADER_DESC
HRESULT WINAPI D3D10CreateEffectFromMemory(void *data, SIZE_T data_size, UINT flags, ID3D10Device *device, ID3D10EffectPool *effect_pool, ID3D10Effect **effect)
HRESULT WINAPI D3D10StateBlockMaskUnion(D3D10_STATE_BLOCK_MASK *mask_x, D3D10_STATE_BLOCK_MASK *mask_y, D3D10_STATE_BLOCK_MASK *result)
struct _D3D10_EFFECT_VARIABLE_DESC D3D10_EFFECT_VARIABLE_DESC
struct _D3D10_EFFECT_DESC D3D10_EFFECT_DESC
HRESULT WINAPI D3D10CreateStateBlock(ID3D10Device *device, D3D10_STATE_BLOCK_MASK *mask, ID3D10StateBlock **stateblock)
HRESULT WINAPI D3D10StateBlockMaskDifference(D3D10_STATE_BLOCK_MASK *mask_x, D3D10_STATE_BLOCK_MASK *mask_y, D3D10_STATE_BLOCK_MASK *result)
struct _D3D10_TECHNIQUE_DESC D3D10_TECHNIQUE_DESC
HRESULT WINAPI D3D10StateBlockMaskIntersect(D3D10_STATE_BLOCK_MASK *mask_x, D3D10_STATE_BLOCK_MASK *mask_y, D3D10_STATE_BLOCK_MASK *result)
struct _D3D10_STATE_BLOCK_MASK D3D10_STATE_BLOCK_MASK
_D3D10_DEVICE_STATE_TYPES
@ D3D10_DST_PS_SHADER_RESOURCES
@ D3D10_DST_IA_INPUT_LAYOUT
@ D3D10_DST_OM_RENDER_TARGETS
@ D3D10_DST_GS_SHADER_RESOURCES
@ D3D10_DST_DEPTH_STENCIL_STATE
@ D3D10_DST_RS_SCISSOR_RECTS
@ D3D10_DST_PS_CONSTANT_BUFFERS
@ D3D10_DST_IA_VERTEX_BUFFERS
@ D3D10_DST_GS_CONSTANT_BUFFERS
@ D3D10_DST_IA_PRIMITIVE_TOPOLOGY
@ D3D10_DST_VS_SHADER_RESOURCES
@ D3D10_DST_RS_RASTERIZER_STATE
@ D3D10_DST_VS_CONSTANT_BUFFERS
@ D3D10_DST_IA_INDEX_BUFFER
HRESULT WINAPI D3D10StateBlockMaskDisableCapture(D3D10_STATE_BLOCK_MASK *mask, D3D10_DEVICE_STATE_TYPES state_type, UINT start_idx, UINT count)
BOOL WINAPI D3D10StateBlockMaskGetSetting(D3D10_STATE_BLOCK_MASK *mask, D3D10_DEVICE_STATE_TYPES state_type, UINT idx)
D3D_SHADER_VARIABLE_TYPE D3D10_SHADER_VARIABLE_TYPE
D3D_SHADER_VARIABLE_CLASS D3D10_SHADER_VARIABLE_CLASS
static SIZE_T const char const D3D_SHADER_MACRO ID3DInclude * include
static SIZE_T const char const D3D_SHADER_MACRO * defines
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLboolean GLenum GLenum GLvoid * values
MATRIX * GetMatrix(HWND hwnd)
static const WCHAR desc[]
@ SetMatrixTransposeArray
static HRESULT QueryInterface(REFIID, void **)
static ULONG WINAPI AddRef(IStream *iface)
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
UINT SharedGlobalVariables
UINT SharedConstantBuffers
UINT NumInputSignatureEntries
const BYTE * pInputSignature
UINT NumOutputSignatureEntries
D3D10_SHADER_VARIABLE_TYPE Type
D3D10_SHADER_VARIABLE_CLASS Class
SIZE_T IAInputSignatureSize
struct ID3D10EffectShaderVariable * pShaderVariable
BYTE PSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)]
BYTE GSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)]
BYTE VSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)]
BYTE GSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)]
BYTE GSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)]
BYTE IAVertexBuffers[D3D10_BYTES_FROM_BITS(D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT)]
BYTE VSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)]
BYTE PSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)]
BYTE PSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)]
BYTE VSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)]
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out