mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
27 lines
410 B
GLSL
27 lines
410 B
GLSL
#version 310 es
|
|
|
|
// compute shader - this file was generated by NZSL compiler (Nazara Shading Language)
|
|
|
|
precision highp int;
|
|
#if GL_FRAGMENT_PRECISION_HIGH
|
|
precision highp float;
|
|
#else
|
|
precision mediump float;
|
|
#endif
|
|
|
|
layout(local_size_x = 32, local_size_y = 32, local_size_z = 1) in;
|
|
|
|
// header end
|
|
|
|
struct Input
|
|
{
|
|
uvec3 indices;
|
|
};
|
|
|
|
void main()
|
|
{
|
|
Input input_;
|
|
input_.indices = gl_GlobalInvocationID;
|
|
|
|
}
|