mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 20:10:06 +00:00
39ffdaf2ab
Also add missing NonUniformEXT decoration on OpImageTexelPointer.
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);
|
|
}
|