[D3D12] ROV: ForcedSampleCount=1 for safety

This commit is contained in:
Triang3l 2018-11-21 20:53:11 +03:00
parent 93675f1d45
commit 14b623465c
1 changed files with 1 additions and 0 deletions

View File

@ -636,6 +636,7 @@ PipelineCache::UpdateStatus PipelineCache::UpdateRasterizerState(
poly_offset_scale * (1.0f / 16.0f); poly_offset_scale * (1.0f / 16.0f);
update_desc_.RasterizerState.DepthClipEnable = update_desc_.RasterizerState.DepthClipEnable =
!depth_clamp_enable ? TRUE : FALSE; !depth_clamp_enable ? TRUE : FALSE;
update_desc_.RasterizerState.ForcedSampleCount = edram_rov_used_ ? 1 : 0;
return UpdateStatus::kMismatch; return UpdateStatus::kMismatch;
} }