aboutsummaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorconnnnal <216976529+connnnal@users.noreply.github.com>2025-08-17 18:35:25 +0100
committerconnnnal <216976529+connnnal@users.noreply.github.com>2025-08-17 18:35:25 +0100
commit17f9ad29afa8e40918c5859a2c7f9b6ef7a3740e (patch)
treeb91929e64c017b823e669cc8a0b2f48d7b3e8cd5 /vendor
parentfb4641307189b6952304dc1b2ff3dccdad75029c (diff)
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
Diffstat (limited to 'vendor')
-rw-r--r--vendor/directx/d3d12/d3d12.odin8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/directx/d3d12/d3d12.odin b/vendor/directx/d3d12/d3d12.odin
index 2bfd4de4f..0d4dbc4e0 100644
--- a/vendor/directx/d3d12/d3d12.odin
+++ b/vendor/directx/d3d12/d3d12.odin
@@ -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 {