yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
b2e5b5c5
vulkan-sdk-1.4.350.0
1#version 460 2 3layout ( points ) in ; 4layout ( triangle_strip , max_vertices = 3 ) out ; 5 6in vec4 vgo1 [] ; 7in vec2 vgo2 [] ; 8 9layout ( location = 5 ) in outBlock { 10vec4 o3 ; 11} inBlock [] ; 12 13out vec4 gfo1 ; 14out vec2 gfo2 ; 15 16layout ( location = 5 ) out outBlock { 17vec4 o3 ; 18} gf_out ; 19 20uniform crossStageBlock2 { 21uniform vec4 a ; 22vec2 b ; 23} blockName1 [ 2 ] ; // instance name different from frag 24 25void main () 26{ 27for ( int i = 0 ; i < 3 ; i ++ ) { 28gfo1 = vec4 ( 0 ) ; 29gfo2 = vec2 ( 0 ) ; 30gf_out . o3 = inBlock [ i ] . o3 ; 31EmitVertex () ; 32} 33EndPrimitive () ; 34} 35