[d3d9+util] Enable invariant position by default

This commit is contained in:
Robin Kertels 2022-04-09 13:40:46 +02:00 committed by Joshie
parent 35e8f4676b
commit 9302d33ac7
3 changed files with 2 additions and 16 deletions

View File

@ -184,7 +184,7 @@
# Supported values: True, False # Supported values: True, False
# d3d11.invariantPosition = True # d3d11.invariantPosition = True
# d3d9.invariantPosition = False # d3d9.invariantPosition = True
# Forces the sample count of all textures to 1, and performs # Forces the sample count of all textures to 1, and performs

View File

@ -57,7 +57,7 @@ namespace dxvk {
this->supportX4R4G4B4 = config.getOption<bool> ("d3d9.supportX4R4G4B4", true); this->supportX4R4G4B4 = config.getOption<bool> ("d3d9.supportX4R4G4B4", true);
this->supportD32 = config.getOption<bool> ("d3d9.supportD32", true); this->supportD32 = config.getOption<bool> ("d3d9.supportD32", true);
this->disableA8RT = config.getOption<bool> ("d3d9.disableA8RT", false); this->disableA8RT = config.getOption<bool> ("d3d9.disableA8RT", false);
this->invariantPosition = config.getOption<bool> ("d3d9.invariantPosition", false); this->invariantPosition = config.getOption<bool> ("d3d9.invariantPosition", true);
this->memoryTrackTest = config.getOption<bool> ("d3d9.memoryTrackTest", false); this->memoryTrackTest = config.getOption<bool> ("d3d9.memoryTrackTest", false);
this->supportVCache = config.getOption<bool> ("d3d9.supportVCache", vendorId == 0x10de); this->supportVCache = config.getOption<bool> ("d3d9.supportVCache", vendorId == 0x10de);
this->enableDialogMode = config.getOption<bool> ("d3d9.enableDialogMode", false); this->enableDialogMode = config.getOption<bool> ("d3d9.enableDialogMode", false);

View File

@ -315,10 +315,6 @@ namespace dxvk {
{ R"(\\Gothic(3|3Final| III Forsaken Gods)\.exe$)", {{ { R"(\\Gothic(3|3Final| III Forsaken Gods)\.exe$)", {{
{ "d3d9.supportDFFormats", "False" }, { "d3d9.supportDFFormats", "False" },
}} }, }} },
/* Risen */
{ R"(\\Risen[23]?\.exe$)", {{
{ "d3d9.invariantPosition", "True" },
}} },
/* Sonic Adventure 2 */ /* Sonic Adventure 2 */
{ R"(\\Sonic Adventure 2\\(launcher|sonic2app)\.exe$)", {{ { R"(\\Sonic Adventure 2\\(launcher|sonic2app)\.exe$)", {{
{ "d3d9.floatEmulation", "False" }, { "d3d9.floatEmulation", "False" },
@ -342,13 +338,8 @@ namespace dxvk {
{ R"(\\Dead Space\.exe$)", {{ { R"(\\Dead Space\.exe$)", {{
{ "d3d9.supportDFFormats", "False" }, { "d3d9.supportDFFormats", "False" },
}} }, }} },
/* Halo 2 */
{ R"(\\halo2\.exe$)", {{
{ "d3d9.invariantPosition", "True" },
}} },
/* Halo CE/HaloPC */ /* Halo CE/HaloPC */
{ R"(\\halo(ce)?\.exe$)", {{ { R"(\\halo(ce)?\.exe$)", {{
{ "d3d9.invariantPosition", "True" },
// Game enables minor decal layering fixes // Game enables minor decal layering fixes
// specifically when it detects AMD. // specifically when it detects AMD.
// Avoids chip being detected as unsupported // Avoids chip being detected as unsupported
@ -421,7 +412,6 @@ namespace dxvk {
/* Battlefield 2 (bad z-pass) */ /* Battlefield 2 (bad z-pass) */
{ R"(\\BF2\.exe$)", {{ { R"(\\BF2\.exe$)", {{
{ "d3d9.longMad", "True" }, { "d3d9.longMad", "True" },
{ "d3d9.invariantPosition", "True" },
}} }, }} },
/* SpellForce 2 Series */ /* SpellForce 2 Series */
{ R"(\\SpellForce2.*\.exe$)", {{ { R"(\\SpellForce2.*\.exe$)", {{
@ -522,10 +512,6 @@ namespace dxvk {
{ R"(\\BBCF\.exe$)", {{ { R"(\\BBCF\.exe$)", {{
{ "d3d9.floatEmulation", "Strict" }, { "d3d9.floatEmulation", "Strict" },
}} }, }} },
/* James Cameron's Avatar needs invariantPosition to fix black flickering vegetation */
{ R"(\\Avatar\.exe$)", {{
{ "d3d9.invariantPosition", "True" },
}} },
/* Resident Evil games */ /* Resident Evil games */
{ R"(\\(rerev|rerev2|re0hd|bhd|re5dx9|BH6)\.exe$)", {{ { R"(\\(rerev|rerev2|re0hd|bhd|re5dx9|BH6)\.exe$)", {{
{ "d3d9.allowDirectBufferMapping", "False" }, { "d3d9.allowDirectBufferMapping", "False" },