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
This commit is contained in:
Mohit Sethi
2026-04-12 14:30:14 +01:00
committed by GitHub
parent ecbb20475e
commit 5398d2cfc1

View File

@@ -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 {