Skip to content
Permalink
Browse files

ShaderCache: Set correct primitive in dummy ubershader pipelines

  • Loading branch information...
stenzek committed Mar 9, 2019
1 parent 7dd9d74 commit 5732769a3cbe884c535031d826ff65911c31f050
Showing with 2 additions and 2 deletions.
  1. +2 −2 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();

0 comments on commit 5732769

Please sign in to comment.
You can’t perform that action at this time.