26 lines
467 B
GLSL
26 lines
467 B
GLSL
#version 310 es
|
|
|
|
uvec3 tint_extract_bits(uvec3 v, uint offset, uint count) {
|
|
uint s = min(offset, 32u);
|
|
uint e = min(32u, (s + count));
|
|
return bitfieldExtract(v, int(s), int((e - s)));
|
|
}
|
|
|
|
void f_1() {
|
|
uvec3 v = uvec3(0u, 0u, 0u);
|
|
uint offset_1 = 0u;
|
|
uint count = 0u;
|
|
uvec3 x_14 = tint_extract_bits(v, offset_1, count);
|
|
return;
|
|
}
|
|
|
|
void f() {
|
|
f_1();
|
|
}
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void main() {
|
|
f();
|
|
return;
|
|
}
|