mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
9 lines
240 B
GLSL
9 lines
240 B
GLSL
|
#version 450
|
||
|
#extension GL_EXT_nonuniform_qualifier : require
|
||
|
layout(set=0,binding=4,r32ui) uniform uimageBuffer data[];
|
||
|
layout(location = 3) in flat int rIndex;
|
||
|
void main()
|
||
|
{
|
||
|
imageAtomicAdd(data[nonuniformEXT(rIndex)], 0, 0);
|
||
|
}
|