yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
8d3f3b7d
main
1#version 310 es 2precision mediump float ; 3precision mediump int ; 4layout (binding = 0 ) uniform mediump sampler2D texM; 5layout (binding = 1 ) uniform highp sampler2D texH; 6layout (binding = 0 , rgba32f) uniform readonly mediump image2D imageM; 7layout (binding = 1 , rgba32f) uniform readonly highp image2D imageH; 8 9layout (location = 0 ) in highp vec4 vertex; 10layout (location = 1 ) flat in highp ivec2 coord; 11layout (location = 0 ) out vec4 fragColor; 12 13void main() 14{ 15vec4 v; 16v = texture(texM, vertex. xy ); 17v = texture(texH, vertex. xy ); 18v = textureLod(texM, vertex. xy , vertex. z ); 19v = textureLod(texH, vertex. xy , vertex. z ); 20v = textureProj(texM, vertex. xyz ); 21v = textureProj(texH, vertex. xyz ); 22v = imageLoad(imageM, coord); 23v = imageLoad(imageH, coord ); 24}