[PATCH 2/3] include: Add the D3D12_SHADER_VERSION_TYPE enumeration.

Henri Verbeet hverbeet at codeweavers.com
Fri Oct 2 10:56:00 CDT 2020


From: Biswapriyo Nath <nathbappai at gmail.com>

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
 include/d3d12shader.idl | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/include/d3d12shader.idl b/include/d3d12shader.idl
index 9cf39c6cc3c..f6cc35a843d 100644
--- a/include/d3d12shader.idl
+++ b/include/d3d12shader.idl
@@ -20,6 +20,17 @@ import "oaidl.idl";
 import "ocidl.idl";
 import "d3dcommon.idl";
 
+typedef enum D3D12_SHADER_VERSION_TYPE
+{
+    D3D12_SHVER_PIXEL_SHADER = 0x0,
+    D3D12_SHVER_VERTEX_SHADER = 0x1,
+    D3D12_SHVER_GEOMETRY_SHADER = 0x2,
+    D3D12_SHVER_HULL_SHADER = 0x3,
+    D3D12_SHVER_DOMAIN_SHADER = 0x4,
+    D3D12_SHVER_COMPUTE_SHADER = 0x5,
+    D3D12_SHVER_RESERVED0 = 0xfff0,
+} D3D12_SHADER_VERSION_TYPE;
+
 typedef struct _D3D12_SHADER_DESC
 {
     UINT Version;
-- 
2.20.1




More information about the wine-devel mailing list