summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ShaderCache.cpp
diff options
context:
space:
mode:
authorTellowKrinkle <tellowkrinkle@gmail.com>2022-06-18 01:09:35 -0500
committerTellowKrinkle <tellowkrinkle@gmail.com>2022-09-19 16:28:23 -0500
commit4c629c2beef8b3bae6ee13bbeae484315adbf67c (patch)
tree0a4e427a183dffc50abd86fc8b84db69df4aeb5d /Source/Core/VideoCommon/ShaderCache.cpp
parent720b3f5519c1cf9ee5384b9596ad65ae82935e23 (diff)
VideoCommon: Add dynamic vertex loader to ubershaders
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.cpp')
-rw-r--r--Source/Core/VideoCommon/ShaderCache.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/ShaderCache.cpp b/Source/Core/VideoCommon/ShaderCache.cpp
index 6049fd29a7..cea1ac89d1 100644
--- a/Source/Core/VideoCommon/ShaderCache.cpp
+++ b/Source/Core/VideoCommon/ShaderCache.cpp
@@ -743,6 +743,8 @@ static GXUberPipelineUid ApplyDriverBugs(const GXUberPipelineUid& in)
{
GXUberPipelineUid out;
memcpy(&out, &in, sizeof(out)); // Copy padding
+ if (g_ActiveConfig.backend_info.bSupportsDynamicVertexLoader)
+ out.vertex_format = nullptr;
if (g_ActiveConfig.backend_info.bSupportsFramebufferFetch)
{
// Always blend in shader