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 2aa3c38

Browse files
authored
Revert "Increase streaming memory setting limit (#2264)" (#2323)
This reverts commit ab2d769.
1 parent adff688 commit 2aa3c38

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

‎Client/core/CCore.cpp‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,12 +1923,10 @@ 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
1930-
// 4096 = 128 384
1931-
// 6146 = 128 512
1926+
// System RAM MB min max
1927+
// 512 = 64 96
1928+
// 1024 = 96 128
1929+
// 2048 = 128 256
19321930
//
19331931
// Also:
19341932
// Max should be no more than 2 * installed video memory
@@ -1947,8 +1945,8 @@ void CCore::CalculateStreamingMemoryRange()
19471945
int iVideoMemoryMB = g_pDeviceState->AdapterState.InstalledMemoryKB / 1024;
19481946

19491947
// Calc min and max from lookup table
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}};
1948+
SSamplePoint<float> minPoints[] = {{512, 64}, {1024, 96}, {2048, 128}};
1949+
SSamplePoint<float> maxPoints[] = {{512, 96}, {1024, 128}, {2048, 256}};
19521950

19531951
float fMinAmount = EvalSamplePosition<float>(minPoints, NUMELMS(minPoints), iSystemRamMB);
19541952
float fMaxAmount = EvalSamplePosition<float>(maxPoints, NUMELMS(maxPoints), iSystemRamMB);

0 commit comments

Comments
(0)

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