Commit 2a933cb0 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3dx9: Add some shader definitions.

parent 8991b214
......@@ -299,4 +299,43 @@ HRESULT WINAPI D3DXGetShaderConstantTable(CONST DWORD* byte_code,
}
#endif
typedef struct _D3DXSHADER_CONSTANTTABLE
{
DWORD Size;
DWORD Creator;
DWORD Version;
DWORD Constants;
DWORD ConstantInfo;
DWORD Flags;
DWORD Target;
} D3DXSHADER_CONSTANTTABLE, *LPD3DXSHADER_CONSTANTTABLE;
typedef struct _D3DXSHADER_CONSTANTINFO
{
DWORD Name;
WORD RegisterSet;
WORD RegisterIndex;
WORD RegisterCount;
WORD Reserved;
DWORD TypeInfo;
DWORD DefaultValue;
} D3DXSHADER_CONSTANTINFO, *LPD3DXSHADER_CONSTANTINFO;
typedef struct _D3DXSHADER_TYPEINFO
{
WORD Class;
WORD Type;
WORD Rows;
WORD Columns;
WORD Elements;
WORD StructMembers;
DWORD StructMemberInfo;
} D3DXSHADER_TYPEINFO, *LPD3DXSHADER_TYPEINFO;
typedef struct _D3DXSHADER_STRUCTMEMBERINFO
{
DWORD Name;
DWORD TypeInfo;
} D3DXSHADER_STRUCTMEMBERINFO, *LPD3DXSHADER_STRUCTMEMBERINFO;
#endif /* __D3DX9SHADER_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment