rt: increase MAX_ACCELS to 2048, fix #366

test_shaders_room3 has lots of sprites, and currently we create a new BLAS for each sprite.
This is not great, and a proper fix would probably mean consolidating all dynamic transparent things into BLASes per render mode or something. But for now we can just increase the limit
This commit is contained in:
Ivan 'provod' Avdeev 2023-03-04 10:57:27 -08:00 committed by Ivan Avdeev
parent 78a1b24e11
commit c1483216ef
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
#include "vk_buffer.h"
#include "vk_const.h"
#define MAX_ACCELS 1024
#define MAX_ACCELS 2048
#define MAX_KUSOCHKI 16384
#define MODEL_CACHE_SIZE 1024