mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
[d3d11] Remove mingw-w64 < 6 workarounds
This commit is contained in:
parent
dca63464b4
commit
6b8ab4fd38
@ -43,63 +43,4 @@ typedef enum 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
|
||||
#ifndef __WINE__
|
||||
|
||||
//MinGW-Headers supports these typedefs since 6.0.0
|
||||
#if !defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 6
|
||||
typedef enum D3D11_COPY_FLAGS {
|
||||
D3D11_COPY_NO_OVERWRITE = 0x1,
|
||||
D3D11_COPY_DISCARD = 0x2,
|
||||
} D3D11_COPY_FLAGS;
|
||||
typedef struct D3D11_FEATURE_DATA_FORMAT_SUPPORT2 {
|
||||
DXGI_FORMAT InFormat;
|
||||
UINT OutFormatSupport2;
|
||||
} D3D11_FEATURE_DATA_FORMAT_SUPPORT2;
|
||||
typedef struct D3D11_FEATURE_DATA_THREADING {
|
||||
BOOL DriverConcurrentCreates;
|
||||
BOOL DriverCommandLists;
|
||||
} D3D11_FEATURE_DATA_THREADING;
|
||||
typedef struct D3D11_FEATURE_DATA_DOUBLES {
|
||||
BOOL DoublePrecisionFloatShaderOps;
|
||||
} D3D11_FEATURE_DATA_DOUBLES;
|
||||
typedef struct D3D11_FEATURE_DATA_FORMAT_SUPPORT {
|
||||
DXGI_FORMAT InFormat;
|
||||
UINT OutFormatSupport;
|
||||
} D3D11_FEATURE_DATA_FORMAT_SUPPORT;
|
||||
typedef struct D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS {
|
||||
BOOL ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x;
|
||||
} D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS;
|
||||
typedef enum D3D11_BUFFEREX_SRV_FLAG {
|
||||
D3D11_BUFFEREX_SRV_FLAG_RAW = 1
|
||||
} D3D11_BUFFEREX_SRV_FLAG;
|
||||
typedef enum D3D11_UAV_FLAG {
|
||||
D3D11_BUFFER_UAV_FLAG_RAW = 0x1,
|
||||
D3D11_BUFFER_UAV_FLAG_APPEND = 0x2,
|
||||
D3D11_BUFFER_UAV_FLAG_COUNTER = 0x4
|
||||
} D3D11_UAV_FLAG;
|
||||
typedef struct D3D11_QUERY_DATA_PIPELINE_STATISTICS {
|
||||
UINT64 IAVertices;
|
||||
UINT64 IAPrimitives;
|
||||
UINT64 VSInvocations;
|
||||
UINT64 GSInvocations;
|
||||
UINT64 GSPrimitives;
|
||||
UINT64 CInvocations;
|
||||
UINT64 CPrimitives;
|
||||
UINT64 PSInvocations;
|
||||
UINT64 HSInvocations;
|
||||
UINT64 DSInvocations;
|
||||
UINT64 CSInvocations;
|
||||
} D3D11_QUERY_DATA_PIPELINE_STATISTICS;
|
||||
typedef struct D3D11_FEATURE_DATA_ARCHITECTURE_INFO {
|
||||
BOOL TileBasedDeferredRenderer;
|
||||
} D3D11_FEATURE_DATA_ARCHITECTURE_INFO;
|
||||
typedef struct D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT {
|
||||
UINT PixelShaderMinPrecision;
|
||||
UINT AllOtherShaderStagesMinPrecision;
|
||||
} D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT;
|
||||
typedef struct D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT {
|
||||
BOOL SupportsDepthAsTextureWithLessEqualComparisonFilter;
|
||||
} D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT;
|
||||
#endif // !defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 6
|
||||
#endif // __WINE__
|
||||
#endif // _MSC_VER
|
||||
|
Loading…
x
Reference in New Issue
Block a user