1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-29 17:52:18 +01:00

[d3d9] Implement D3DTOP_BLENDTEXTUREALPHAPM

This commit is contained in:
Georg Lehmann 2021-08-08 11:36:47 +02:00 committed by Joshie
parent 9162aa5fdf
commit 92deba0310

View File

@ -1810,7 +1810,8 @@ namespace dxvk {
break;
case D3DTOP_BLENDTEXTUREALPHAPM:
Logger::warn("D3DTOP_BLENDTEXTUREALPHAPM: not implemented");
dst = m_module.opFFma(m_vec4Type, arg[2], Complement(AlphaReplicate(GetTexture())), arg[1]);
dst = Saturate(dst);
break;
case D3DTOP_BLENDCURRENTALPHA: