Skip to content
2 changes: 1 addition & 1 deletion tests/user_type/byte_address_buffer_0.spv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ all_descriptor_bindings:
accessed: 1
uav_counter_id: 4294967295
uav_counter_binding:
ByteAddressBuffer offsets: [13, 5, 11, 4]
ByteAddressBuffer offsets: [4, 5, 11, 13]
Copy link
Contributor Author

@Luna5ama Luna5ama Jul 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For whatever reason, the ordering is messed up on Windows with MSVC. It was supposed to be sorted. But that would be another issue and PR. There is already #307 for this.
https://github.com/KhronosGroup/SPIRV-Reflect/blob/main/spirv_reflect.c#L3669-L3674

type_description: *td1
word_offset: { binding: 129, set: 125 }
user_type: ByteAddressBuffer
Expand Down
2 changes: 1 addition & 1 deletion tests/user_type/byte_address_buffer_1.spv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ all_descriptor_bindings:
accessed: 1
uav_counter_id: 4294967295
uav_counter_binding:
ByteAddressBuffer offsets: [2, 1]
ByteAddressBuffer offsets: [1, 2]
type_description: *td5
word_offset: { binding: 112, set: 108 }
user_type: ByteAddressBuffer
Expand Down
2 changes: 1 addition & 1 deletion tests/user_type/rw_byte_address_buffer.spv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ all_descriptor_bindings:
accessed: 1
uav_counter_id: 4294967295
uav_counter_binding:
ByteAddressBuffer offsets: [13, 5, 11, 4]
ByteAddressBuffer offsets: [4, 5, 11, 13]
type_description: *td1
word_offset: { binding: 130, set: 126 }
user_type: RWByteAddressBuffer
Expand Down
Loading