mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 21:32:50 +00:00
d3d12: Do not set mask if not requested
This commit is contained in:
parent
bdeb08e045
commit
27e56b6199
@ -847,7 +847,10 @@ bool D3D12GSRender::LoadProgram()
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user