ShaderCache: Set correct primitive in dummy ubershader pipelines

This commit is contained in:
Stenzek 2019-03-09 23:31:30 +10:00
parent 7dd9d74eec
commit 5732769a3c
1 changed files with 2 additions and 2 deletions

View File

@ -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();