mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +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
@ -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…
Reference in New Issue
Block a user