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:
Clément Foucault 2017-10-06 16:25:38 +02:00
parent f94f141f24
commit a4a5637d7a
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ typedef struct Gwn_ShaderInput {
GLint location;
} Gwn_ShaderInput;
#define GWN_NUM_SHADERINTERFACE_BUCKETS 1009
#define GWN_NUM_SHADERINTERFACE_BUCKETS 257
typedef struct Gwn_ShaderInterface {
GLint program;