mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 10:24:10 +01:00
[d3d9] Remove allowDiscard hack
This commit is contained in:
parent
9b877cf623
commit
d9d6316609
10
dxvk.conf
10
dxvk.conf
@ -554,16 +554,6 @@
|
||||
|
||||
# d3d9.forceAspectRatio = ""
|
||||
|
||||
# Allow Discard
|
||||
#
|
||||
# Allow the discard lock flag to be used
|
||||
# Useful if some apps use this incorrectly.
|
||||
#
|
||||
# Supported values:
|
||||
# - True/False
|
||||
|
||||
# d3d9.allowDiscard = True
|
||||
|
||||
# Enumerate by Displays
|
||||
#
|
||||
# Whether we should enumerate D3D9 adapters by display (windows behaviour)
|
||||
|
@ -4792,9 +4792,6 @@ namespace dxvk {
|
||||
if (unlikely(ppbData == nullptr))
|
||||
return D3DERR_INVALIDCALL;
|
||||
|
||||
if (!m_d3d9Options.allowDiscard)
|
||||
Flags &= ~D3DLOCK_DISCARD;
|
||||
|
||||
auto& desc = *pResource->Desc();
|
||||
|
||||
// Ignore DISCARD if NOOVERWRITE is set
|
||||
|
@ -64,7 +64,6 @@ namespace dxvk {
|
||||
this->forceSwapchainMSAA = config.getOption<int32_t> ("d3d9.forceSwapchainMSAA", -1);
|
||||
this->forceSampleRateShading = config.getOption<bool> ("d3d9.forceSampleRateShading", false);
|
||||
this->forceAspectRatio = config.getOption<std::string> ("d3d9.forceAspectRatio", "");
|
||||
this->allowDiscard = config.getOption<bool> ("d3d9.allowDiscard", true);
|
||||
this->enumerateByDisplays = config.getOption<bool> ("d3d9.enumerateByDisplays", true);
|
||||
this->longMad = config.getOption<bool> ("d3d9.longMad", false);
|
||||
this->apitraceMode = config.getOption<bool> ("d3d9.apitraceMode", false);
|
||||
|
@ -116,9 +116,6 @@ namespace dxvk {
|
||||
/// Forces sample rate shading
|
||||
bool forceSampleRateShading;
|
||||
|
||||
/// Allow D3DLOCK_DISCARD
|
||||
bool allowDiscard;
|
||||
|
||||
/// Enumerate adapters by displays
|
||||
bool enumerateByDisplays;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user