mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
Set D3D12MA::ALLOCATOR_FLAG_DONT_PREFER_SMALL_BUFFERS_COMMITTED flag.
This commit is contained in:
parent
65059715a2
commit
279390f1fe
1 changed files with 2 additions and 1 deletions
|
|
@ -3345,7 +3345,8 @@ namespace plume {
|
||||||
D3D12MA::ALLOCATOR_DESC allocatorDesc = {};
|
D3D12MA::ALLOCATOR_DESC allocatorDesc = {};
|
||||||
allocatorDesc.pDevice = d3d;
|
allocatorDesc.pDevice = d3d;
|
||||||
allocatorDesc.pAdapter = adapter;
|
allocatorDesc.pAdapter = adapter;
|
||||||
allocatorDesc.Flags = D3D12MA::ALLOCATOR_FLAG_DEFAULT_POOLS_NOT_ZEROED | D3D12MA::ALLOCATOR_FLAG_MSAA_TEXTURES_ALWAYS_COMMITTED;
|
allocatorDesc.Flags = D3D12MA::ALLOCATOR_FLAG_DEFAULT_POOLS_NOT_ZEROED |
|
||||||
|
D3D12MA::ALLOCATOR_FLAG_MSAA_TEXTURES_ALWAYS_COMMITTED | D3D12MA::ALLOCATOR_FLAG_DONT_PREFER_SMALL_BUFFERS_COMMITTED;
|
||||||
|
|
||||||
res = D3D12MA::CreateAllocator(&allocatorDesc, &allocator);
|
res = D3D12MA::CreateAllocator(&allocatorDesc, &allocator);
|
||||||
if (FAILED(res)) {
|
if (FAILED(res)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue