summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/VKPipeline.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2022-09-20 17:14:07 -0400
committerGitHub <noreply@github.com>2022-09-20 17:14:07 -0400
commit22197c09a3cf2753c007d8ef8d75daa5fc2c44b9 (patch)
tree14d5aa4ae61d100f3bc7a394021963258fbf3dc1 /Source/Core/VideoBackends/Vulkan/VKPipeline.cpp
parent4ea694a7e403c673b457643e52435b355c96fd87 (diff)
parentee692abbe1032e9eb888defedb1bb00f569f68a3 (diff)
Merge pull request #10781 from tellowkrinkle/UberVertexLoader
VideoCommon: Add dynamic vertex loader for ubershaders to reduce pipeline count
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VKPipeline.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/VKPipeline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VKPipeline.cpp b/Source/Core/VideoBackends/Vulkan/VKPipeline.cpp
index f21fb9bf5e..564f93d802 100644
--- a/Source/Core/VideoBackends/Vulkan/VKPipeline.cpp
+++ b/Source/Core/VideoBackends/Vulkan/VKPipeline.cpp
@@ -251,6 +251,9 @@ std::unique_ptr<VKPipeline> VKPipeline::Create(const AbstractPipelineConfig& con
case AbstractPipelineUsage::GX:
pipeline_layout = g_object_cache->GetPipelineLayout(PIPELINE_LAYOUT_STANDARD);
break;
+ case AbstractPipelineUsage::GXUber:
+ pipeline_layout = g_object_cache->GetPipelineLayout(PIPELINE_LAYOUT_UBER);
+ break;
case AbstractPipelineUsage::Utility:
pipeline_layout = g_object_cache->GetPipelineLayout(PIPELINE_LAYOUT_UTILITY);
break;