yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
c30d3353
main
1#version 450 2 3layout (binding = 0 )uniform sampler2D s2D ; 4layout (binding = 1 )uniform texture2D t2D ; 5layout (binding = 3 )uniform sampler s ; 6 7vec2 funOpaque (in sampler2D s2D ,texture2D t2D ,sampler s ) 8{ 9return textureSize (s2D ,0 )* texture (sampler2D (t2D ,s ),vec2 (0.5 )).xy ; 10} 11 12void main () 13{ 14vec2 size = funOpaque (s2D ,t2D ,s ); 15}