Skip to content
Snippets Groups Projects

Draft: Resolve "Compute: First Network"

Open Josch Morgenstern requested to merge 91-compute-first-network into develop
Files
2
#version 450 core
#extension GL_ARB_separate_shader_objects : enable
layout(local_size_x = 1) in;
layout(std430, binding = 0) coherent buffer buffer_input
{
int bufferInput[];
};
layout( push_constant ) uniform constants{
int increment;
};
void main() {
uint id = gl_GlobalInvocationID.x;
bufferInput[id] += increment;
}
Loading