Skip to content

Commit

Permalink
[d3d9] Remove alphaTestWiggleRoom option
Browse files Browse the repository at this point in the history
  • Loading branch information
doitsujin committed Aug 17, 2022
1 parent 5a3cb5a commit a695644
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 31 deletions.
10 changes: 0 additions & 10 deletions dxvk.conf
Original file line number Diff line number Diff line change
Expand Up @@ -414,16 +414,6 @@

# 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
#
# Enables using device local, host accessible memory for constant buffers in D3D9.
Expand Down
1 change: 0 additions & 1 deletion src/d3d9/d3d9_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ namespace dxvk {
this->enumerateByDisplays = config.getOption<bool> ("d3d9.enumerateByDisplays", true);
this->longMad = config.getOption<bool> ("d3d9.longMad", false);
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->deviceLocalConstantBuffers = config.getOption<bool> ("d3d9.deviceLocalConstantBuffers", false);
this->allowDirectBufferMapping = config.getOption<bool> ("d3d9.allowDirectBufferMapping", true);
Expand Down
4 changes: 0 additions & 4 deletions src/d3d9/d3d9_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ namespace dxvk {
/// Tearing mode if vsync is enabled
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.
bool apitraceMode;

Expand Down
3 changes: 0 additions & 3 deletions src/dxso/dxso_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ namespace dxvk {
vertexFloatConstantBufferAsSSBO = pDevice->GetVertexConstantLayout().floatSize() > devInfo.core.properties.limits.maxUniformBufferRange;

longMad = options.longMad;

alphaTestWiggleRoom = options.alphaTestWiggleRoom;

robustness2Supported = devFeatures.extRobustness2.robustBufferAccess2;
}

Expand Down
4 changes: 0 additions & 4 deletions src/dxso/dxso_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ namespace dxvk {
/// don't match entirely to the regular vertex shader in this way.
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
bool robustness2Supported;
};
Expand Down
9 changes: 0 additions & 9 deletions src/util/config/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,6 @@ namespace dxvk {
{ R"(\\SpellForce2.*\.exe$)", {{
{ "d3d9.forceSamplerTypeSpecConstants", "True" },
}} },
/* Everquest 2 */
{ R"(\\EverQuest2.*\.exe$)", {{
{ "d3d9.alphaTestWiggleRoom", "True" },
}} },
/* Tomb Raider: Legend */
{ R"(\\trl\.exe$)", {{
{ "d3d9.apitraceMode", "True" },
Expand Down Expand Up @@ -575,11 +571,6 @@ namespace dxvk {
{ R"(\\BGE\.exe$)", {{
{ "d3d9.maxFrameRate", "60" },
}} },
/* Ninja Blade *
* Transparent main character on Nvidia */
{ R"(\\NinjaBlade\.exe$)", {{
{ "d3d9.alphaTestWiggleRoom", "True" },
}} },
/* YS Origin *
* Helps very bad frametimes in some areas */
{ R"(\\yso_win\.exe$)", {{
Expand Down

0 comments on commit a695644

Please sign in to comment.