diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-13 09:32:41 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-13 09:36:47 +0200 |
commit | 91dddca26eca0c2e00bb2974099908bf26d34f43 (patch) | |
tree | 534a2fd5bef3b757a78dd99429843f6eadc752e4 /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | vk_rasterizer: Remove buffer check in attribute selection (diff) | |
download | yuzu-91dddca26eca0c2e00bb2974099908bf26d34f43.tar yuzu-91dddca26eca0c2e00bb2974099908bf26d34f43.tar.gz yuzu-91dddca26eca0c2e00bb2974099908bf26d34f43.tar.bz2 yuzu-91dddca26eca0c2e00bb2974099908bf26d34f43.tar.lz yuzu-91dddca26eca0c2e00bb2974099908bf26d34f43.tar.xz yuzu-91dddca26eca0c2e00bb2974099908bf26d34f43.tar.zst yuzu-91dddca26eca0c2e00bb2974099908bf26d34f43.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 5af2a0d25..cf15e6d1c 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -875,7 +875,7 @@ void RasterizerVulkan::SetupVertexArrays(FixedPipelineState::VertexInput& vertex for (std::size_t index = 0; index < Maxwell::NumVertexAttributes; ++index) { const auto& attrib = regs.vertex_attrib_format[index]; - if (!attrib.IsValid()) { + if (attrib.IsConstant()) { vertex_input.SetAttribute(index, false, 0, 0, {}, {}); continue; } |