1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[util] Enable forceSamplerTypeSpecConstants for SpellForce 2: Faith in Destiny

The game binds a 2D texture to a 3D (volume) sampler which causes the readback to be 0 0 0 0 on native, whereas we can workaround it and see the intended texture and cool refracty effect that would have rendered on older real hardware 👏

Closes #1645
This commit is contained in:
Joshua Ashton 2020-05-27 17:14:12 +01:00
parent a21e0d4bcf
commit f92d60496c

View File

@ -348,6 +348,10 @@ namespace dxvk {
{ "d3d9.longMad", "True" },
{ "d3d9.invariantPosition", "True" },
}} },
/* SpellForce 2: Faith in Destiny */
{ R"(\\SpellForce2FaithInDestiny\.exe$)", {{
{ "d3d9.forceSamplerTypeSpecConstants", "True" },
}} },
}};