yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
97068d8b
main
1#version 450 2 3uniform struct S { 4sampler2D s ; 5}si ; 6 7void foo (sampler2D t ) 8{ 9texture (t ,vec2 (0.5 )); 10} 11 12void barc (const S p ) 13{ 14foo (p .s ); 15} 16 17void bar (S p ) 18{ 19foo (p .s ); 20} 21 22void main () 23{ 24barc (si ); 25bar (si ); 26}