mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
d3d12: Do not set mask if not requested
This commit is contained in:
parent
bdeb08e045
commit
27e56b6199
1 changed files with 4 additions and 1 deletions
|
@ -847,7 +847,10 @@ bool D3D12GSRender::LoadProgram()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
prop.SampleMask = m_color_mask_r | (m_color_mask_g << 1) | (m_color_mask_b << 2) | (m_color_mask_a << 3);
|
if (m_set_color_mask)
|
||||||
|
prop.SampleMask = m_color_mask_r | (m_color_mask_g << 1) | (m_color_mask_b << 2) | (m_color_mask_a << 3);
|
||||||
|
else
|
||||||
|
prop.SampleMask = UINT_MAX;
|
||||||
|
|
||||||
prop.IASet = m_IASet;
|
prop.IASet = m_IASet;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue