Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2022-08-21 20:34:03 +0300
committerJoshua Ashton <joshua@froggi.es>2022-08-21 22:25:40 +0300
commitd1b4c529d501e4cdd717feff846857d495b747f0 (patch)
treee5de37ce0927ca16b99024dedc7e3e8af6fda2dc
parent0dc3200951f57b596f56beec7de69de46174e1de (diff)
[d3d11] Remove compat definitions for older MinGWnative-pr-d3d11-remove-obsolete-compat
These conflict with native builds, and have existed for a long time now.
-rw-r--r--src/d3d11/d3d11_include.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/d3d11/d3d11_include.h b/src/d3d11/d3d11_include.h
index 1598088a..ef6b135e 100644
--- a/src/d3d11/d3d11_include.h
+++ b/src/d3d11/d3d11_include.h
@@ -3,44 +3,3 @@
#include "../dxgi/dxgi_include.h"
#include <d3d11_4.h>
-
-// This is not defined in the mingw headers
-#ifndef D3D11_1_UAV_SLOT_COUNT
-#define D3D11_1_UAV_SLOT_COUNT 64
-#endif
-
-#ifndef D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL
-#define D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL 0xFFFFFFFF
-#endif
-
-#ifndef D3D11_KEEP_UNORDERED_ACCESS_VIEWS
-#define D3D11_KEEP_UNORDERED_ACCESS_VIEWS 0xFFFFFFFF
-#endif
-
-#define D3D11_DXVK_USE_REMAINING_LAYERS 0xFFFFFFFF
-#define D3D11_DXVK_USE_REMAINING_LEVELS 0xFFFFFFFF
-
-// Most of these were copied from d3d11.h
-// For some strange reason, we cannot use the structures
-// directly, although others from the same header work.
-// Some structures are missing from the mingw headers.
-#ifndef _MSC_VER
-#if !defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 9
-typedef enum D3D11_FORMAT_SUPPORT2 {
- D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD = 0x1,
- D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS = 0x2,
- D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE = 0x4,
- D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE = 0x8,
- D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX = 0x10,
- D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX = 0x20,
- D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD = 0x40,
- D3D11_FORMAT_SUPPORT2_UAV_TYPED_STORE = 0x80,
- D3D11_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP = 0x100,
- D3D11_FORMAT_SUPPORT2_TILED = 0x200,
- D3D11_FORMAT_SUPPORT2_SHAREABLE = 0x400,
- D3D11_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x4000
-} D3D11_FORMAT_SUPPORT2;
-#define D3D11_RESOURCE_MISC_TILE_POOL (0x20000)
-#define D3D11_RESOURCE_MISC_TILED (0x40000)
-#endif // !defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 9
-#endif // _MSC_VER