mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
9593e4e8bb
Copies using the graphics pipeline, an input image and renders to an output image.
12 lines
223 B
GLSL
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);
|
|
}
|