Make D3D12_FEATURE_DATA_D3D12_OPTIONS.MinPrecisionSupport a bitset

https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_feature_data_d3d12_options
This commit is contained in:
connnnal
2025-08-17 18:35:25 +01:00
parent fb46413071
commit 17f9ad29af
+4 -4
View File
@@ -851,10 +851,10 @@ FEATURE :: enum i32 {
OPTIONS19 = 48,
}
SHADER_MIN_PRECISION_SUPPORT :: enum i32 {
NONE = 0,
_10_BIT = 1,
_16_BIT = 2,
SHADER_MIN_PRECISION_SUPPORT :: distinct bit_set[SHADER_MIN_PRECISION_SUPPORT_FLAG; u32]
SHADER_MIN_PRECISION_SUPPORT_FLAG :: enum i32 {
_10_BIT,
_16_BIT,
}
TILED_RESOURCES_TIER :: enum i32 {