18 lines
358 B
Plaintext
18 lines
358 B
Plaintext
|
#version 310 es
|
||
|
|
||
|
uint tint_mod(uint lhs, uint rhs) {
|
||
|
return (lhs % ((rhs == 0u) ? 1u : rhs));
|
||
|
}
|
||
|
|
||
|
void f(uvec3 v) {
|
||
|
uint tint_symbol = v.x;
|
||
|
uint tint_symbol_1 = tint_mod(v.y, 1u);
|
||
|
uint l = (tint_symbol << (tint_symbol_1 & 31u));
|
||
|
}
|
||
|
|
||
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
||
|
void main() {
|
||
|
f(gl_GlobalInvocationID);
|
||
|
return;
|
||
|
}
|