SPIRV-Cross/shaders/comp/udiv.comp
Hans-Kristian Arntzen 75471fbb98 Initial commit.
2016-03-11 16:30:27 +01:00

18 lines
272 B
Plaintext

#version 310 es
layout(local_size_x = 1) in;
layout(std430, binding = 0) buffer SSBO
{
uint inputs[];
};
layout(std430, binding = 0) buffer SSBO2
{
uint outputs[];
};
void main()
{
outputs[gl_GlobalInvocationID.x] = inputs[gl_GlobalInvocationID.x] / 29u;
}