[d3d9] Remove alphaTestWiggleRoom option

This commit is contained in:
Philip Rebohle 2022-08-12 17:37:54 +02:00 committed by Philip Rebohle
parent 5a3cb5ad3e
commit a695644fea
6 changed files with 0 additions and 31 deletions

View File

@ -414,16 +414,6 @@
# d3d9.longMad = False # d3d9.longMad = False
# Alpha Test Wiggle Room
#
# Workaround for games using alpha test == 1.0, etc due to wonky interpolation or
# misc. imprecision on some vendors
#
# Supported values:
# - True/False
# d3d9.alphaTestWiggleRoom = False
# Device Local Constant Buffers # Device Local Constant Buffers
# #
# Enables using device local, host accessible memory for constant buffers in D3D9. # Enables using device local, host accessible memory for constant buffers in D3D9.

View File

@ -67,7 +67,6 @@ namespace dxvk {
this->enumerateByDisplays = config.getOption<bool> ("d3d9.enumerateByDisplays", true); this->enumerateByDisplays = config.getOption<bool> ("d3d9.enumerateByDisplays", true);
this->longMad = config.getOption<bool> ("d3d9.longMad", false); this->longMad = config.getOption<bool> ("d3d9.longMad", false);
this->tearFree = config.getOption<Tristate> ("d3d9.tearFree", Tristate::Auto); this->tearFree = config.getOption<Tristate> ("d3d9.tearFree", Tristate::Auto);
this->alphaTestWiggleRoom = config.getOption<bool> ("d3d9.alphaTestWiggleRoom", false);
this->apitraceMode = config.getOption<bool> ("d3d9.apitraceMode", false); this->apitraceMode = config.getOption<bool> ("d3d9.apitraceMode", false);
this->deviceLocalConstantBuffers = config.getOption<bool> ("d3d9.deviceLocalConstantBuffers", false); this->deviceLocalConstantBuffers = config.getOption<bool> ("d3d9.deviceLocalConstantBuffers", false);
this->allowDirectBufferMapping = config.getOption<bool> ("d3d9.allowDirectBufferMapping", true); this->allowDirectBufferMapping = config.getOption<bool> ("d3d9.allowDirectBufferMapping", true);

View File

@ -135,10 +135,6 @@ namespace dxvk {
/// Tearing mode if vsync is enabled /// Tearing mode if vsync is enabled
Tristate tearFree; Tristate tearFree;
/// Workaround for games using alpha test == 1.0, etc due to wonky interpolation or
/// misc. imprecision on some vendors
bool alphaTestWiggleRoom;
/// Apitrace mode: Maps all buffers in cached memory. /// Apitrace mode: Maps all buffers in cached memory.
bool apitraceMode; bool apitraceMode;

View File

@ -41,9 +41,6 @@ namespace dxvk {
vertexFloatConstantBufferAsSSBO = pDevice->GetVertexConstantLayout().floatSize() > devInfo.core.properties.limits.maxUniformBufferRange; vertexFloatConstantBufferAsSSBO = pDevice->GetVertexConstantLayout().floatSize() > devInfo.core.properties.limits.maxUniformBufferRange;
longMad = options.longMad; longMad = options.longMad;
alphaTestWiggleRoom = options.alphaTestWiggleRoom;
robustness2Supported = devFeatures.extRobustness2.robustBufferAccess2; robustness2Supported = devFeatures.extRobustness2.robustBufferAccess2;
} }

View File

@ -51,10 +51,6 @@ namespace dxvk {
/// don't match entirely to the regular vertex shader in this way. /// don't match entirely to the regular vertex shader in this way.
bool longMad; bool longMad;
/// Workaround for games using alpha test == 1.0, etc due to wonky interpolation or
/// misc. imprecision on some vendors
bool alphaTestWiggleRoom;
/// Whether or not we can rely on robustness2 to handle oob constant access /// Whether or not we can rely on robustness2 to handle oob constant access
bool robustness2Supported; bool robustness2Supported;
}; };

View File

@ -413,10 +413,6 @@ namespace dxvk {
{ R"(\\SpellForce2.*\.exe$)", {{ { R"(\\SpellForce2.*\.exe$)", {{
{ "d3d9.forceSamplerTypeSpecConstants", "True" }, { "d3d9.forceSamplerTypeSpecConstants", "True" },
}} }, }} },
/* Everquest 2 */
{ R"(\\EverQuest2.*\.exe$)", {{
{ "d3d9.alphaTestWiggleRoom", "True" },
}} },
/* Tomb Raider: Legend */ /* Tomb Raider: Legend */
{ R"(\\trl\.exe$)", {{ { R"(\\trl\.exe$)", {{
{ "d3d9.apitraceMode", "True" }, { "d3d9.apitraceMode", "True" },
@ -575,11 +571,6 @@ namespace dxvk {
{ R"(\\BGE\.exe$)", {{ { R"(\\BGE\.exe$)", {{
{ "d3d9.maxFrameRate", "60" }, { "d3d9.maxFrameRate", "60" },
}} }, }} },
/* Ninja Blade *
* Transparent main character on Nvidia */
{ R"(\\NinjaBlade\.exe$)", {{
{ "d3d9.alphaTestWiggleRoom", "True" },
}} },
/* YS Origin * /* YS Origin *
* Helps very bad frametimes in some areas */ * Helps very bad frametimes in some areas */
{ R"(\\yso_win\.exe$)", {{ { R"(\\yso_win\.exe$)", {{