[PATCH v2 1/4] include: Add D3D12_SHADER_VERSION_TYPE enum in d3d12shader.idl.

Biswapriyo Nath nathbappai at gmail.com
Thu Oct 1 04:08:21 CDT 2020


-------------- next part --------------
From 89f032e4afdbccd64a0fb90f8e8b9863062f6f24 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Thu, 1 Oct 2020 14:33:00 +0530
Subject: [PATCH v2 1/4] include: Add D3D12_SHADER_VERSION_TYPE enum in d3d12shader.idl.

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

diff --git a/include/d3d12shader.idl b/include/d3d12shader.idl
index 9cf39c6..1d1b6a6 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 = 0,
+    D3D12_SHVER_VERTEX_SHADER = 1,
+    D3D12_SHVER_GEOMETRY_SHADER = 2,
+    D3D12_SHVER_HULL_SHADER = 3,
+    D3D12_SHVER_DOMAIN_SHADER = 4,
+    D3D12_SHVER_COMPUTE_SHADER = 5,
+    D3D12_SHVER_RESERVED0 = 0xfff0,
+} D3D12_SHADER_VERSION_TYPE;
+
 typedef struct _D3D12_SHADER_DESC
 {
     UINT Version;
-- 
2.27.0



More information about the wine-devel mailing list