Fixing unsigned hexes

This commit is contained in:
Dynamitos
2024-11-26 20:40:34 +01:00
parent 5248b11432
commit a2c6aca6d7
3 changed files with 59 additions and 84 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ layout(std430, binding = 0) buffer StructuredBuffer_uint64_t_0 {
} pParams_bitFieldBuffer_0;
#line 8
const uint OCBT_bit_mask_0[18] = { 4294967295U, 4294967295U, 4294967295U, 4294967295U, 4294967295U, 4294967295U, 4294967295U, 65535U, 65535U, 65535U, 255U, 4294967295U, 4294967295U, 65535U, 255U, 15U, 3U, 1U };
const uint64_t OCBT_bit_mask_0[18] = { 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 65535UL, 65535UL, 65535UL, 255UL, 18446744073709551615UL, 4294967295UL, 65535UL, 255UL, 15UL, 3UL, 1UL };
#line 33
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
@@ -19,7 +19,7 @@ void main()
#line 33
uint _S1 = gl_GlobalInvocationID.x;
pParams_bitFieldBuffer_0._data[uint(_S1)] = uint64_t(OCBT_bit_mask_0[_S1]);
pParams_bitFieldBuffer_0._data[uint(_S1)] = OCBT_bit_mask_0[_S1];
return;
}