summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ShaderCache.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2019-03-09 23:31:30 +1000
committerStenzek <stenzek@gmail.com>2019-03-28 20:35:02 +1000
commit5732769a3cbe884c535031d826ff65911c31f050 (patch)
treecc4d3b04a399c9b0aed760fffed53b37d82e34b4 /Source/Core/VideoCommon/ShaderCache.cpp
parent7dd9d74eece97c1cb5e5d3839d20811d1757b427 (diff)
ShaderCache: Set correct primitive in dummy ubershader pipelines
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.cpp')
-rw-r--r--Source/Core/VideoCommon/ShaderCache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/ShaderCache.cpp b/Source/Core/VideoCommon/ShaderCache.cpp
index b42587a2d4..eee7120fbe 100644
--- a/Source/Core/VideoCommon/ShaderCache.cpp
+++ b/Source/Core/VideoCommon/ShaderCache.cpp
@@ -966,8 +966,8 @@ void ShaderCache::QueueUberShaderPipelines()
config.vs_uid = vs_uid;
config.gs_uid = gs_uid;
config.ps_uid = ps_uid;
- config.rasterization_state =
- RenderState::GetCullBackFaceRasterizationState(PrimitiveType::TriangleStrip);
+ config.rasterization_state = RenderState::GetCullBackFaceRasterizationState(
+ static_cast<PrimitiveType>(gs_uid.GetUidData()->primitive_type));
config.depth_state = RenderState::GetNoDepthTestingDepthState();
config.blending_state = RenderState::GetNoBlendingBlendState();