mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d11] Assign ForcedSampleCount to correct value in ApplyRasterizerSampleCount
ForcedSampleCount was never being respected as it would always be replaced with 1 as it was being assigned to the wrong variable. This was also probably causing a bunch of redundant CS work as it was changing state that was dirty checked.
This commit is contained in:
parent
1c33d8be1f
commit
3a6f8fa413
1 changed files with 1 additions and 1 deletions
|
@ -3229,7 +3229,7 @@ namespace dxvk {
|
|||
if (unlikely(!m_state.om.sampleCount)) {
|
||||
pc.rasterizerSampleCount = m_state.rs.state->Desc()->ForcedSampleCount;
|
||||
|
||||
if (!m_state.om.sampleCount)
|
||||
if (!pc.rasterizerSampleCount)
|
||||
pc.rasterizerSampleCount = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue