[D3D12] Fix pipeline creation being stuck due to primitive topology type not being saved

This commit is contained in:
Triang3l 2018-09-16 21:48:23 +03:00
parent be2d522e19
commit 79b745527c
1 changed files with 1 additions and 0 deletions

View File

@ -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) {