Welcome to mirror list, hosted at ThFree Co, Russian Federation.

composite-extract-forced-temporary.frag « frag « shaders « opt « reference - github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eb59732fdc9e25b11f6cb12d30120147f0966f1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 310 es
precision mediump float;
precision highp int;

layout(binding = 0) uniform mediump sampler2D Texture;

layout(location = 0) in vec2 vTexCoord;
layout(location = 0) out vec4 FragColor;

void main()
{
    vec4 _19 = texture(Texture, vTexCoord);
    float _22 = _19.x;
    FragColor = vec4(_22 * _22);
}