mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 02:32:18 +00:00
Possible crashfix for D3HDP #822
This commit is contained in:
parent
8c464de83d
commit
a00d6dc9d9
2 changed files with 3 additions and 0 deletions
|
@ -882,6 +882,7 @@ int idImageManager::LoadLevelImages( bool pacifier )
|
|||
if( !commandList )
|
||||
{
|
||||
nvrhi::CommandListParameters params = {};
|
||||
params.enableImmediateExecution = false;
|
||||
if( deviceManager->GetGraphicsAPI() == nvrhi::GraphicsAPI::VULKAN )
|
||||
{
|
||||
// SRS - set upload buffer size to avoid Vulkan staging buffer fragmentation
|
||||
|
@ -1004,6 +1005,7 @@ void idImageManager::LoadDeferredImages( nvrhi::ICommandList* _commandList )
|
|||
if( !commandList )
|
||||
{
|
||||
nvrhi::CommandListParameters params = {};
|
||||
params.enableImmediateExecution = false;
|
||||
if( deviceManager->GetGraphicsAPI() == nvrhi::GraphicsAPI::VULKAN )
|
||||
{
|
||||
// SRS - set upload buffer size to avoid Vulkan staging buffer fragmentation
|
||||
|
|
|
@ -244,6 +244,7 @@ void idRenderModelManagerLocal::Init()
|
|||
if( !commandList )
|
||||
{
|
||||
nvrhi::CommandListParameters params = {};
|
||||
params.enableImmediateExecution = false;
|
||||
if( deviceManager->GetGraphicsAPI() == nvrhi::GraphicsAPI::VULKAN )
|
||||
{
|
||||
// SRS - set upload buffer size to avoid Vulkan staging buffer fragmentation
|
||||
|
|
Loading…
Reference in a new issue