Allow nonuniformEXT() on sampler types.
Also add missing NonUniformEXT decoration on OpImageTexelPointer.
This commit is contained in:
parent
f333272eb5
commit
39ffdaf2ab
7 changed files with 136 additions and 1 deletions
8
Test/spv.nonuniform4.frag
Normal file
8
Test/spv.nonuniform4.frag
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue