summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2017-09-07 23:41:37 +1000
committerStenzek <stenzek@gmail.com>2017-09-11 20:01:48 +1000
commite5840908224c1bcf6d948ec11d56b918e3ebee89 (patch)
tree9a53ee45d6164894a43d8dacc4a71a109711a041 /Source/Core/VideoBackends/Vulkan/TextureConverter.cpp
parent836b9b9acbc2ff2d10d6f3c81e64b7b10b22f023 (diff)
Vulkan: Fix interface mismatch in RGB->YUYV shader
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/TextureConverter.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/TextureConverter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp b/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp
index eee9a13272..e0376c3cae 100644
--- a/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp
+++ b/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp
@@ -801,6 +801,7 @@ bool TextureConverter::CompileYUYVConversionShaders()
static const char RGB_TO_YUYV_SHADER_SOURCE[] = R"(
SAMPLER_BINDING(0) uniform sampler2DArray source;
layout(location = 0) in vec3 uv0;
+ layout(location = 1) in vec4 col0;
layout(location = 0) out vec4 ocol0;
const vec3 y_const = vec3(0.257,0.504,0.098);