Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ab2d769

Browse files
authored
Increase streaming memory setting limit (#2264)
* Increase streaming memory setting limit Add new steps (System RAM => min/max streaming memory limit): - 4096 => 128/384 - 6144 => 128/512
1 parent 0dfa5fc commit ab2d769

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

‎Client/core/CCore.cpp‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,10 +1923,12 @@ void CCore::OnPreHUDRender()
19231923
//
19241924
// Streaming memory range based on system installed memory:
19251925
//
1926-
// System RAM MB min max
1927-
// 512 = 64 96
1928-
// 1024 = 96 128
1929-
// 2048 = 128 256
1926+
// System RAM MB min max
1927+
// 512 = 64 96
1928+
// 1024 = 96 128
1929+
// 2048 = 128 256
1930+
// 4096 = 128 384
1931+
// 6146 = 128 512
19301932
//
19311933
// Also:
19321934
// Max should be no more than 2 * installed video memory
@@ -1945,8 +1947,8 @@ void CCore::CalculateStreamingMemoryRange()
19451947
int iVideoMemoryMB = g_pDeviceState->AdapterState.InstalledMemoryKB / 1024;
19461948

19471949
// Calc min and max from lookup table
1948-
SSamplePoint<float> minPoints[] = {{512, 64}, {1024, 96}, {2048, 128}};
1949-
SSamplePoint<float> maxPoints[] = {{512, 96}, {1024, 128}, {2048, 256}};
1950+
SSamplePoint<float> minPoints[] = {{512, 64}, {1024, 96}, {2048, 128}, {4096, 128}, {6144, 128}};
1951+
SSamplePoint<float> maxPoints[] = {{512, 96}, {1024, 128}, {2048, 256}, {4096, 384}, {6144, 512}};
19501952

19511953
float fMinAmount = EvalSamplePosition<float>(minPoints, NUMELMS(minPoints), iSystemRamMB);
19521954
float fMaxAmount = EvalSamplePosition<float>(maxPoints, NUMELMS(maxPoints), iSystemRamMB);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /