gstreamer/ext/vulkan/shaders/identity.frag
Matthew Waters 9593e4e8bb vulkan: add a new image copying element
Copies using the graphics pipeline, an input image and renders to an
output image.
2019-06-04 09:03:44 +00:00

12 lines
223 B
GLSL

#version 420 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);
}