diff --git a/ext/vulkan/shaders/ayuv_to_rgb.frag b/ext/vulkan/shaders/ayuv_to_rgb.frag index db1318709e..c876bd3f90 100644 --- a/ext/vulkan/shaders/ayuv_to_rgb.frag +++ b/ext/vulkan/shaders/ayuv_to_rgb.frag @@ -22,5 +22,5 @@ void main() vec4 rgba = vec4(1.0); rgba.a = yuva.a; rgba.rgb = color_convert_texel (yuva.xyz, matrices); - outColor0 = /*vec4(yuv.x * 0.0, yuv.y * 0.0, yuv.z * 1.0, 1.0);*/swizzle(rgba, out_reorder_idx); + outColor0 = swizzle(rgba, out_reorder_idx); } diff --git a/ext/vulkan/shaders/downsample_ayuv.glsl b/ext/vulkan/shaders/downsample_ayuv.glsl deleted file mode 100644 index c803358521..0000000000 --- a/ext/vulkan/shaders/downsample_ayuv.glsl +++ /dev/null @@ -1,8 +0,0 @@ -#include "swizzle.glsl" - -vec4 downsample_AYUV(in sampler2D tex, in vec2 texCoord, in ivec4 inReorderIdx) -{ - vec4 yuva = texture(tex, texCoord); - - return swizzle(yuva, inReorderIdx); -}