Module: wine Branch: master Commit: f506bfd018aa28f22aeb7d28c15595829d111464 URL: https://gitlab.winehq.org/wine/wine/-/commit/f506bfd018aa28f22aeb7d28c155958...
Author: Biswapriyo Nath nathbappai@gmail.com Date: Fri Jun 28 18:40:49 2024 +0000
include: Add macros for d3d12 shader version in d3d12shader.idl.
---
include/d3d12shader.idl | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/include/d3d12shader.idl b/include/d3d12shader.idl index f6cc35a843d..d66080f4b40 100644 --- a/include/d3d12shader.idl +++ b/include/d3d12shader.idl @@ -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;