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

8 lines
184 B
GLSL

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