rt: fix uploading too many light cells, fix #451

c5a1 has ~230k light cells, and tries to upload 77MiB of them. Previous staging size of 64MiB wasn't enough.
This commit is contained in:
Ivan 'provod' Avdeev 2023-03-04 11:31:34 -08:00 committed by Ivan Avdeev
parent 62392ac4b6
commit 21534c044b
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
#include <memory.h>
#define DEFAULT_STAGING_SIZE (64*1024*1024)
#define DEFAULT_STAGING_SIZE (128*1024*1024)
#define MAX_STAGING_ALLOCS (2048)
#define MAX_CONCURRENT_FRAMES 2
#define COMMAND_BUFFER_COUNT (MAX_CONCURRENT_FRAMES + 1) // to accommodate two frames in flight plus something trying to upload data before waiting for the next frame to complete