summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-12-08 01:55:51 +0100
committerGitHub <noreply@github.com>2020-12-08 01:55:51 +0100
commit3415890dd5c6539a7c7b6e02bf7ce5df4533133c (patch)
treed8293d5f1997e2b59d79d5bfcc629b736565ac13 /src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
parentMerge pull request #5163 from lioncash/concat (diff)
parentvideo_core: Make use of ordered container contains() where applicable (diff)
downloadyuzu-3415890dd5c6539a7c7b6e02bf7ce5df4533133c.tar
yuzu-3415890dd5c6539a7c7b6e02bf7ce5df4533133c.tar.gz
yuzu-3415890dd5c6539a7c7b6e02bf7ce5df4533133c.tar.bz2
yuzu-3415890dd5c6539a7c7b6e02bf7ce5df4533133c.tar.lz
yuzu-3415890dd5c6539a7c7b6e02bf7ce5df4533133c.tar.xz
yuzu-3415890dd5c6539a7c7b6e02bf7ce5df4533133c.tar.zst
yuzu-3415890dd5c6539a7c7b6e02bf7ce5df4533133c.zip
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp')
-rw-r--r--src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
index f8a1bcf34..970979fa1 100644
--- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
+++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
@@ -230,7 +230,7 @@ vk::Pipeline VKGraphicsPipeline::CreatePipeline(const RenderPassParams& renderpa
if (!attribute.enabled) {
continue;
}
- if (input_attributes.find(static_cast<u32>(index)) == input_attributes.end()) {
+ if (!input_attributes.contains(static_cast<u32>(index))) {
// Skip attributes not used by the vertex shaders.
continue;
}