yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
8de7e7bf
vulkan-sdk-1.4.357.0
1#version 450 core 2 3in gl_PerVertex { 4float gl_CullDistance [ 3 ] ; 5} gl_in [ gl_MaxPatchVertices ] ; 6 7out gl_PerVertex { 8float gl_CullDistance [ 3 ] ; 9} gl_out [ 4 ] ; 10 11void main () 12{ 13gl_out [ gl_InvocationID ] . gl_CullDistance [ 2 ] = gl_in [ 1 ] . gl_CullDistance [ 2 ] ; 14} 15 16layout ( location = 4 ) out bName1 { 17float f ; 18layout ( location = 5 ) float g ; 19} bInst1 [ 2 ] ; 20layout ( location = 6 ) out bName2 { 21float f ; 22layout ( location = 7 ) float g ; // ERROR, location on array 23} bInst2 [ 2 ][ 3 ] ;