#endif /* D3D12_TEXTURE_DATA_PITCH_ALIGNMENT */
#if defined(__cplusplus)
-#if !defined(_WIN32) || defined(_MSC_VER) || D3D12_SDK_VERSION < 606
+#if !defined(_WIN32) || defined(_MSC_VER)
inline D3D12_CPU_DESCRIPTOR_HANDLE
GetCPUDescriptorHandleForHeapStart(ID3D12DescriptorHeap *heap)
{
rast.ForcedSampleCount = 1;
pso_desc.DSVFormat = DXGI_FORMAT_UNKNOWN;
}
- } else if (state->samples > 1) {
-#if D3D12_SDK_VERSION >= 609
- if (!(screen->opts19.SupportedSampleCountsWithNoOutputs & (1 << state->samples)))
-#endif
- {
- samples.Count = 1;
- rast.ForcedSampleCount = state->samples;
- }
+ } else if (state->samples > 1 &&
+ !(screen->opts19.SupportedSampleCountsWithNoOutputs & (1 << state->samples))) {
+ samples.Count = 1;
+ rast.ForcedSampleCount = state->samples;
}
samples.Quality = 0;
debug_printf("D3D12: failed to get device options\n");
return false;
}
-#if D3D12_SDK_VERSION >= 609
screen->dev->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS19, &screen->opts19, sizeof(screen->opts19));
-#endif
screen->architecture.NodeIndex = 0;
if (FAILED(screen->dev->CheckFeatureSupport(D3D12_FEATURE_ARCHITECTURE,
D3D12_FEATURE_DATA_D3D12_OPTIONS3 opts3;
D3D12_FEATURE_DATA_D3D12_OPTIONS4 opts4;
D3D12_FEATURE_DATA_D3D12_OPTIONS14 opts14;
-#if D3D12_SDK_VERSION >= 610
D3D12_FEATURE_DATA_D3D12_OPTIONS19 opts19;
-#endif
nir_shader_compiler_options nir_options;
#include <wrl/client.h>
using Microsoft::WRL::ComPtr;
-#if !defined(_WIN32) || defined(_MSC_VER) || D3D12_SDK_VERSION < 606
+#if !defined(_WIN32) || defined(_MSC_VER)
inline D3D12_VIDEO_DECODER_HEAP_DESC
GetDesc(ID3D12VideoDecoderHeap *heap)
{