From 79b745527c23816d8652eed7e21653bff383d8b7 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Sun, 16 Sep 2018 21:48:23 +0300 Subject: [PATCH] [D3D12] Fix pipeline creation being stuck due to primitive topology type not being saved --- src/xenia/gpu/d3d12/pipeline_cache.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenia/gpu/d3d12/pipeline_cache.cc b/src/xenia/gpu/d3d12/pipeline_cache.cc index 64062ced9..f67312436 100644 --- a/src/xenia/gpu/d3d12/pipeline_cache.cc +++ b/src/xenia/gpu/d3d12/pipeline_cache.cc @@ -292,6 +292,7 @@ PipelineCache::UpdateStatus PipelineCache::UpdateShaderStages( primitive_topology_type = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE; }; dirty |= regs.primitive_topology_type != primitive_topology_type; + regs.primitive_topology_type = primitive_topology_type; if (primitive_type == PrimitiveType::kPointList || primitive_type == PrimitiveType::kRectangleList || primitive_type == PrimitiveType::kQuadList) {