For nonuniformEXT constructor, make a copy of the node to decorate
This commit is contained in:
parent
e291f7a09f
commit
88220d507e
9 changed files with 374 additions and 296 deletions
9
Test/spv.nonuniform2.frag
Normal file
9
Test/spv.nonuniform2.frag
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#version 450
|
||||
#extension GL_EXT_nonuniform_qualifier : require
|
||||
layout(set=0,binding=4,rgba32f) uniform imageBuffer data[];
|
||||
layout(location = 0) out vec4 FragColor;
|
||||
layout(location = 3) in flat int rIndex;
|
||||
void main()
|
||||
{
|
||||
FragColor = imageLoad(data[nonuniformEXT(rIndex)], 0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue