forked from bartvdbraak/blender
Gawain: Reduce shader interface bucket size
Tried 101 but it gives colisions. I think 257 is enough now that we dont have thousands of uniforms. This gives some noticeable performance improvement. Could be refined further.
This commit is contained in:
parent
f94f141f24
commit
a4a5637d7a
@ -42,7 +42,7 @@ typedef struct Gwn_ShaderInput {
|
|||||||
GLint location;
|
GLint location;
|
||||||
} Gwn_ShaderInput;
|
} Gwn_ShaderInput;
|
||||||
|
|
||||||
#define GWN_NUM_SHADERINTERFACE_BUCKETS 1009
|
#define GWN_NUM_SHADERINTERFACE_BUCKETS 257
|
||||||
|
|
||||||
typedef struct Gwn_ShaderInterface {
|
typedef struct Gwn_ShaderInterface {
|
||||||
GLint program;
|
GLint program;
|
||||||
|
Loading…
Reference in New Issue
Block a user