mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-utils: Introduce D3DCompile() and D3DCompile2().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
042a2928dc
commit
0df589369e
@@ -93,3 +93,29 @@ interface ID3D10Blob : IUnknown
|
||||
|
||||
typedef ID3D10Blob ID3DBlob;
|
||||
cpp_quote("#define IID_ID3DBlob IID_ID3D10Blob")
|
||||
|
||||
typedef enum _D3D_INCLUDE_TYPE
|
||||
{
|
||||
D3D_INCLUDE_LOCAL = 0,
|
||||
D3D_INCLUDE_SYSTEM,
|
||||
D3D10_INCLUDE_LOCAL = D3D_INCLUDE_LOCAL,
|
||||
D3D10_INCLUDE_SYSTEM = D3D_INCLUDE_SYSTEM,
|
||||
D3D_INCLUDE_FORCE_DWORD = 0x7fffffff,
|
||||
} D3D_INCLUDE_TYPE;
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
]
|
||||
interface ID3DInclude
|
||||
{
|
||||
HRESULT Open(D3D_INCLUDE_TYPE include_type, const char *filename, const void *parent_data, const void **data,
|
||||
UINT *size);
|
||||
HRESULT Close(const void *data);
|
||||
}
|
||||
|
||||
typedef struct _D3D_SHADER_MACRO
|
||||
{
|
||||
const char *Name;
|
||||
const char *Definition;
|
||||
} D3D_SHADER_MACRO;
|
||||
|
||||
Reference in New Issue
Block a user