yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
b03da6ed
main
1#version 450 2 3uniform sampler2D texSampler2D ; 4uniform isampler2D itexSampler2D ; 5uniform usampler2D utexSampler2D ; 6 7in vec2 t ; 8in vec2 coords2D ; 9flat in ivec2 iCoords2D ; 10 11out vec4 color ; 12 13flat in int iLod ; 14 15void main () 16{ 17vec4 color = vec4 (0.0 ,0.0 ,0.0 ,0.0 ); 18 19color += texture (texSampler2D ,coords2D ); 20color += texture (itexSampler2D ,coords2D ); 21color += texture (utexSampler2D ,coords2D ); 22 23color += texelFetch (texSampler2D ,iCoords2D ,iLod ); 24color += texelFetch (itexSampler2D ,iCoords2D ,iLod ); 25color += texelFetch (utexSampler2D ,iCoords2D ,iLod ); 26}