Vulkan: Fix interface mismatch in RGB->YUYV shader

This commit is contained in:
Stenzek 2017-09-07 23:41:37 +10:00
parent 836b9b9acb
commit e584090822

View File

@ -801,6 +801,7 @@ bool TextureConverter::CompileYUYVConversionShaders()
static const char RGB_TO_YUYV_SHADER_SOURCE[] = R"( static const char RGB_TO_YUYV_SHADER_SOURCE[] = R"(
SAMPLER_BINDING(0) uniform sampler2DArray source; SAMPLER_BINDING(0) uniform sampler2DArray source;
layout(location = 0) in vec3 uv0; layout(location = 0) in vec3 uv0;
layout(location = 1) in vec4 col0;
layout(location = 0) out vec4 ocol0; layout(location = 0) out vec4 ocol0;
const vec3 y_const = vec3(0.257,0.504,0.098); const vec3 y_const = vec3(0.257,0.504,0.098);