mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-18 23:23:20 +00:00
include: Add macros for d3d12 shader version in d3d12shader.idl.
This commit is contained in:
parent
fe510b5c5c
commit
f506bfd018
|
@ -31,6 +31,10 @@ typedef enum D3D12_SHADER_VERSION_TYPE
|
|||
D3D12_SHVER_RESERVED0 = 0xfff0,
|
||||
} D3D12_SHADER_VERSION_TYPE;
|
||||
|
||||
cpp_quote("#define D3D12_SHVER_GET_TYPE(v) (((v) >> 16) & 0xffff)")
|
||||
cpp_quote("#define D3D12_SHVER_GET_MAJOR(v) (((v) >> 4) & 0xf)")
|
||||
cpp_quote("#define D3D12_SHVER_GET_MINOR(v) (((v) >> 0) & 0xf)")
|
||||
|
||||
typedef struct _D3D12_SHADER_DESC
|
||||
{
|
||||
UINT Version;
|
||||
|
|
Loading…
Reference in a new issue