From 6be0b32a05605d0d748df6994907761780026861 Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Tue, 17 Feb 2015 19:13:53 +0300 Subject: [PATCH 5/5] Add missing DirectX 11 enum --- mingw-w64-headers/direct-x/include/d3dcommon.h | 11 +++++++++++ mingw-w64-headers/direct-x/include/d3dcommon.idl | 13 +++++++++++++ 2 files changed, 24 insertions(+) diff --git a/mingw-w64-headers/direct-x/include/d3dcommon.h b/mingw-w64-headers/direct-x/include/d3dcommon.h index 5c1e674..04ffd29 100644 --- a/mingw-w64-headers/direct-x/include/d3dcommon.h +++ b/mingw-w64-headers/direct-x/include/d3dcommon.h @@ -290,6 +290,17 @@ typedef enum _D3D_SHADER_VARIABLE_CLASS { D3D11_SVC_INTERFACE_POINTER = 7, D3D_SVC_FORCE_DWORD = 0x7fffffff } D3D_SHADER_VARIABLE_CLASS; +typedef enum _D3D_SHADER_VARIABLE_FLAGS { + D3D_SVF_USERPACKED = 1, + D3D_SVF_USED = 2, + D3D_SVF_INTERFACE_POINTER = 4, + D3D_SVF_INTERFACE_PARAMETER = 8, + D3D10_SVF_USERPACKED = 1, + D3D10_SVF_USED = 2, + D3D11_SVF_INTERFACE_POINTER = 4, + D3D11_SVF_INTERFACE_PARAMETER = 8, + D3D_SVF_FORCE_DWORD = 0x7fffffff +} D3D_SHADER_VARIABLE_FLAGS; typedef enum _D3D_SHADER_VARIABLE_TYPE { D3D_SVT_VOID = 0, D3D_SVT_BOOL = 1, diff --git a/mingw-w64-headers/direct-x/include/d3dcommon.idl b/mingw-w64-headers/direct-x/include/d3dcommon.idl index f8fe203..3f75afb 100644 --- a/mingw-w64-headers/direct-x/include/d3dcommon.idl +++ b/mingw-w64-headers/direct-x/include/d3dcommon.idl @@ -126,6 +126,19 @@ typedef enum _D3D_SHADER_VARIABLE_CLASS D3D_SVC_FORCE_DWORD = 0x7fffffff, } D3D_SHADER_VARIABLE_CLASS; +typedef enum _D3D_SHADER_VARIABLE_FLAGS +{ + D3D_SVF_USERPACKED = 1, + D3D_SVF_USED = 2, + D3D_SVF_INTERFACE_POINTER = 4, + D3D_SVF_INTERFACE_PARAMETER = 8, + D3D10_SVF_USERPACKED = 1, + D3D10_SVF_USED = 2, + D3D11_SVF_INTERFACE_POINTER = 4, + D3D11_SVF_INTERFACE_PARAMETER = 8, + D3D_SVF_FORCE_DWORD = 0x7fffffff +} D3D_SHADER_VARIABLE_FLAGS; + typedef enum _D3D_SHADER_VARIABLE_TYPE { D3D_SVT_VOID, -- 2.3.0