2017-10-11 09:51:48 +02:00
|
|
|
#pragma once
|
|
|
|
|
2017-11-29 07:55:44 +01:00
|
|
|
#include "../dxgi/dxgi_include.h"
|
|
|
|
|
2017-10-11 09:51:48 +02:00
|
|
|
#include <d3d11_1.h>
|
2017-12-27 01:36:45 +01:00
|
|
|
|
|
|
|
// This is not defined in the mingw headers
|
|
|
|
#ifndef D3D11_1_UAV_SLOT_COUNT
|
|
|
|
#define D3D11_1_UAV_SLOT_COUNT 64
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// These were copied from d3d11.h
|
|
|
|
// For some strange reason, we cannot use the structures
|
|
|
|
// directly, although others from the same header work.
|
|
|
|
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;
|
2017-12-29 12:51:54 +01:00
|
|
|
typedef struct D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS {
|
|
|
|
BOOL ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x;
|
|
|
|
} D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS;
|
2017-12-28 16:33:42 +01:00
|
|
|
typedef enum D3D11_BUFFEREX_SRV_FLAG {
|
|
|
|
D3D11_BUFFEREX_SRV_FLAG_RAW = 1
|
|
|
|
} D3D11_BUFFEREX_SRV_FLAG;
|