summaryrefslogtreecommitdiffstats
path: root/tests/playground/externalsampler.frag
blob: 1e02fe332688cd44543a534c511e6b41c1503406 (plain)
1
2
3
4
5
6
7
8
9
10
#version 440

layout(location = 0) in vec2 textureCoords;
layout(location = 0) out vec4 fragColor;
layout(binding = 1) uniform sampler2D frameTexture;

void main()
{
    fragColor = texture(frameTexture, textureCoords).bgra;
}