[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
# d3d11.invariantPosition = True
# d3d9.invariantPosition = False
# d3d9.invariantPosition = True
# 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->supportD32 = config.getOption<bool> ("d3d9.supportD32", true);
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->supportVCache = config.getOption<bool> ("d3d9.supportVCache", vendorId == 0x10de);
this->enableDialogMode = config.getOption<bool> ("d3d9.enableDialogMode", false);

View File

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