From 5398d2cfc1c9e002ae384e377972750bb0920e78 Mon Sep 17 00:00:00 2001 From: Mohit Sethi <29519295+GloriousPtr@users.noreply.github.com> Date: Sun, 12 Apr 2026 14:30:14 +0100 Subject: [PATCH] Fix D3D12_BARRIER_SUBRESOURCE_RANGE struct Should be all u32 in this struct, not uint https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_barrier_subresource_range --- vendor/directx/d3d12/d3d12.odin | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vendor/directx/d3d12/d3d12.odin b/vendor/directx/d3d12/d3d12.odin index 3519dafaf..d17591f6a 100644 --- a/vendor/directx/d3d12/d3d12.odin +++ b/vendor/directx/d3d12/d3d12.odin @@ -5458,12 +5458,12 @@ TEXTURE_BARRIER_FLAGS :: enum i32 { } BARRIER_SUBRESOURCE_RANGE :: struct { - IndexOrFirstMipLevel: uint, - NumMipLevels: uint, - FirstArraySlice: uint, - NumArraySlices: uint, - FirstPlane: uint, - NumPlanes: uint, + IndexOrFirstMipLevel: u32, + NumMipLevels: u32, + FirstArraySlice: u32, + NumArraySlices: u32, + FirstPlane: u32, + NumPlanes: u32, } GLOBAL_BARRIER :: struct {