gstreamer/ext/vulkan/shaders/downsample_ayuv.glsl
2019-06-20 01:41:56 +10:00

8 lines
186 B
GLSL

#include "swizzle.glsl"
vec4 downsample_AYUV(in sampler2D tex, in vec2 texCoord, in ivec4 inReorderIdx)
{
vec4 yuva = texture(tex, texCoord);
return swizzle(yuva, inReorderIdx);
}