26 lines
738 B
GLSL
26 lines
738 B
GLSL
#version 450
|
|
#extension GL_EXT_shader_explicit_arithmetic_types_int64 : require
|
|
layout(row_major) uniform;
|
|
layout(row_major) buffer;
|
|
|
|
#line 35 0
|
|
layout(std430, binding = 0) buffer StructuredBuffer_uint64_t_0 {
|
|
uint64_t _data[];
|
|
} pParams_bitFieldBuffer_0;
|
|
|
|
#line 8
|
|
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;
|
|
void main()
|
|
{
|
|
|
|
#line 33
|
|
uint _S1 = gl_GlobalInvocationID.x;
|
|
|
|
pParams_bitFieldBuffer_0._data[uint(_S1)] = OCBT_bit_mask_0[_S1];
|
|
return;
|
|
}
|
|
|