mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-04 10:29:15 +01:00
[d3d11] Remove d3d11.maxDynamicImageBufferSize option
This commit is contained in:
parent
116d488faa
commit
bdf4cb765a
@ -276,14 +276,6 @@
|
|||||||
# dxvk.zeroMappedMemory = False
|
# dxvk.zeroMappedMemory = False
|
||||||
|
|
||||||
|
|
||||||
# Resource size limit for buffer-mapped dynamic images, in kilobytes.
|
|
||||||
# A higher threshold may reduce memory usage and PCI-E bandwidth in
|
|
||||||
# some games, but may also increase GPU synchronizations. Setting it
|
|
||||||
# to -1 disables the feature.
|
|
||||||
|
|
||||||
# d3d11.maxDynamicImageBufferSize = -1
|
|
||||||
|
|
||||||
|
|
||||||
# Allocates dynamic resources with the given set of bind flags in
|
# Allocates dynamic resources with the given set of bind flags in
|
||||||
# cached system memory rather than uncached memory or host-visible
|
# cached system memory rather than uncached memory or host-visible
|
||||||
# VRAM, in order to allow fast readback from the CPU. This is only
|
# VRAM, in order to allow fast readback from the CPU. This is only
|
||||||
|
@ -36,11 +36,6 @@ namespace dxvk {
|
|||||||
// Clamp LOD bias so that people don't abuse this in unintended ways
|
// Clamp LOD bias so that people don't abuse this in unintended ways
|
||||||
this->samplerLodBias = dxvk::fclamp(this->samplerLodBias, -2.0f, 1.0f);
|
this->samplerLodBias = dxvk::fclamp(this->samplerLodBias, -2.0f, 1.0f);
|
||||||
|
|
||||||
int32_t maxDynamicImageBufferSize = config.getOption<int32_t>("d3d11.maxDynamicImageBufferSize", -1);
|
|
||||||
this->maxDynamicImageBufferSize = maxDynamicImageBufferSize >= 0
|
|
||||||
? VkDeviceSize(maxDynamicImageBufferSize) << 10
|
|
||||||
: VkDeviceSize(~0ull);
|
|
||||||
|
|
||||||
auto cachedDynamicResources = config.getOption<std::string>("d3d11.cachedDynamicResources", std::string());
|
auto cachedDynamicResources = config.getOption<std::string>("d3d11.cachedDynamicResources", std::string());
|
||||||
|
|
||||||
if (IsAPITracingDXGI()) {
|
if (IsAPITracingDXGI()) {
|
||||||
|
@ -80,9 +80,6 @@ namespace dxvk {
|
|||||||
/// a higher value. May help with frame timing issues.
|
/// a higher value. May help with frame timing issues.
|
||||||
int32_t maxFrameLatency;
|
int32_t maxFrameLatency;
|
||||||
|
|
||||||
/// Limit size of buffer-mapped images
|
|
||||||
VkDeviceSize maxDynamicImageBufferSize;
|
|
||||||
|
|
||||||
/// Defer surface creation until first present call. This
|
/// Defer surface creation until first present call. This
|
||||||
/// fixes issues with games that create multiple swap chains
|
/// fixes issues with games that create multiple swap chains
|
||||||
/// for a single window that may interfere with each other.
|
/// for a single window that may interfere with each other.
|
||||||
|
@ -291,10 +291,6 @@ namespace dxvk {
|
|||||||
{ R"(\\AoE2DE_s\.exe$)", {{
|
{ R"(\\AoE2DE_s\.exe$)", {{
|
||||||
{ "d3d11.cachedDynamicResources", "a" },
|
{ "d3d11.cachedDynamicResources", "a" },
|
||||||
}} },
|
}} },
|
||||||
/* Total War: Warhammer III */
|
|
||||||
{ R"(\\Warhammer3\.exe$)", {{
|
|
||||||
{ "d3d11.maxDynamicImageBufferSize", "4096" },
|
|
||||||
}} },
|
|
||||||
/* Assassin's Creed 3 and 4 */
|
/* Assassin's Creed 3 and 4 */
|
||||||
{ R"(\\ac(3|4bf)[sm]p\.exe$)", {{
|
{ R"(\\ac(3|4bf)[sm]p\.exe$)", {{
|
||||||
{ "d3d11.cachedDynamicResources", "a" },
|
{ "d3d11.cachedDynamicResources", "a" },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user