Biswapriyo Nath : include: Add the D3D12_SHADER_VERSION_TYPE enumeration.

Alexandre Julliard julliard at winehq.org
Fri Oct 2 14:54:09 CDT 2020


Module: wine
Branch: master
Commit: 1f85606e6b1893611f1513340b520399d29849d3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1f85606e6b1893611f1513340b520399d29849d3

Author: Biswapriyo Nath <nathbappai at gmail.com>
Date:   Fri Oct  2 19:44:00 2020 +0330

include: Add the D3D12_SHADER_VERSION_TYPE enumeration.

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/d3d12shader.idl | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/include/d3d12shader.idl b/include/d3d12shader.idl
index 9cf39c6cc3..f6cc35a843 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;




More information about the wine-cvs mailing list