2017-04-05 19:03 GMT+02:00 Henri Verbeet hverbeet@gmail.com:
BOOL ps_consts_f[224]; /* 176 896 */ /* --- cacheline 16 boundary (1024 bytes) was 48 bytes ago --- */ WORD vertexShaderConstantsB; /* 1072 2 */ WORD vertexShaderConstantsI; /* 1074 2 */ BOOL vs_consts_f[256]; /* 1076 1024 */ /* --- cacheline 32 boundary (2048 bytes) was 52 bytes ago --- */
Incidentally, this also illustrates the issue of the ps_consts_f and vs_consts_f fields using up way more space than needed.
Ugh, that's pretty bad...
I couldn't help but write a patch for that. Needs testing though.