diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-19 06:04:27 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-13 21:44:47 +0100 |
commit | 70353649d77979e8cbe353669061af0c04470126 (patch) | |
tree | 2af02b543f425976cf707cbc8f80524b9dd1e9d8 /src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | |
parent | Merge pull request #5921 from ameerj/srgb-views (diff) | |
download | yuzu-70353649d77979e8cbe353669061af0c04470126.tar yuzu-70353649d77979e8cbe353669061af0c04470126.tar.gz yuzu-70353649d77979e8cbe353669061af0c04470126.tar.bz2 yuzu-70353649d77979e8cbe353669061af0c04470126.tar.lz yuzu-70353649d77979e8cbe353669061af0c04470126.tar.xz yuzu-70353649d77979e8cbe353669061af0c04470126.tar.zst yuzu-70353649d77979e8cbe353669061af0c04470126.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp index d50dca604..fc6dd83eb 100644 --- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp +++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp @@ -221,9 +221,6 @@ vk::Pipeline VKGraphicsPipeline::CreatePipeline(const SPIRVProgram& program, std::vector<VkVertexInputBindingDescription> vertex_bindings; std::vector<VkVertexInputBindingDivisorDescriptionEXT> vertex_binding_divisors; for (std::size_t index = 0; index < Maxwell::NumVertexArrays; ++index) { - if (state.attributes[index].binding_index_enabled == 0) { - continue; - } const bool instanced = state.binding_divisors[index] != 0; const auto rate = instanced ? VK_VERTEX_INPUT_RATE_INSTANCE : VK_VERTEX_INPUT_RATE_VERTEX; vertex_bindings.push_back({ |