yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
97068d8b
vulkan-sdk-1.4.357.0
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}