[d3d9] Only enable ATOC when rendering to MS RT

This commit is contained in:
Robin Kertels 2024-01-25 21:05:09 +01:00 committed by Joshie
parent d4c5fc74e7
commit 7d9864c077
1 changed files with 1 additions and 1 deletions

View File

@ -816,7 +816,7 @@ namespace dxvk {
inline bool IsAlphaToCoverageEnabled() {
const bool alphaTest = m_state.renderStates[D3DRS_ALPHATESTENABLE] != 0;
return m_amdATOC || (m_nvATOC && alphaTest);
return (m_amdATOC || (m_nvATOC && alphaTest)) && m_flags.test(D3D9DeviceFlag::ValidSampleMask);
}
inline bool IsDepthBiasEnabled() {