Debian Codegraph @

third_party/spirv-cross/shaders-msl/frag/composite-extract-forced-temporary.frag

raw
1 #version 310 es
2 precision mediump float;
3 layout(binding = 0) uniform sampler2D Texture;
4 layout(location = 0) out vec4 FragColor;
5 layout(location = 0) in vec2 vTexCoord;
6
7 void main()
8 {
9 float f = texture(Texture, vTexCoord).x;
10 FragColor = vec4(f * f);
11 }