mirror of https://github.com/bjornbytes/lovr.git
Reduce number of materials per block;
This commit is contained in:
parent
9e4765818a
commit
e87cec1b49
|
@ -25,7 +25,7 @@ const char** os_vk_get_instance_extensions(uint32_t* count);
|
||||||
|
|
||||||
#define MAX_FRAME_MEMORY (1 << 30)
|
#define MAX_FRAME_MEMORY (1 << 30)
|
||||||
#define MAX_SHADER_RESOURCES 32
|
#define MAX_SHADER_RESOURCES 32
|
||||||
#define MATERIALS_PER_BLOCK 1024
|
#define MATERIALS_PER_BLOCK 256
|
||||||
#define FLOAT_BITS(f) ((union { float f; uint32_t u; }) { f }).u
|
#define FLOAT_BITS(f) ((union { float f; uint32_t u; }) { f }).u
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Reference in New Issue