yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
6c292d3b
16.4.0
1#version 150 core 2 3in vec4 iv4 ; 4 5in float ps ; 6in int ui ; 7uniform sampler2D s2D ; 8 9invariant gl_Position ; 10 11struct s1 { 12int a ; 13int a2 ; 14vec4 b [ 3 ] ; 15} ; 16 17struct s2 { 18int c ; 19s1 d [ 4 ] ; 20} ; 21 22out s2 s2out ; 23 24void main () 25{ 26gl_Position = iv4 ; 27gl_PointSize = ps ; 28gl_ClipDistance [ 2 ] = iv4 . x ; 29int i ; 30s2out . d [ i ] . b [ 2 ] . w = ps ; 31 32// test non-implicit lod 33texture ( s2D , vec2 ( 0.5 )) ; 34textureProj ( s2D , vec3 ( 0.5 )) ; 35textureLod ( s2D , vec2 ( 0.5 ) , 3.2 ) ; 36} 37 38out float gl_ClipDistance [ 4 ] ;