gstreamer/ext/vulkan/shaders/identity.frag
Matthew Waters dc0c9dea7f vulkan/identity: Split out most rendering code to a base class
A simple base class that renders a 2d fullscreen quad parallel to the
screen surface inside the view frustum.
2019-06-20 01:41:56 +10:00

12 lines
223 B
GLSL

#version 450 core
layout(location = 0) in vec2 inTexCoord;
layout(set = 0, binding = 0) uniform sampler2D inTexture;
layout(location = 0) out vec4 outColor;
void main()
{
outColor = texture (inTexture, inTexCoord);
}