[PATCH v2 1/5] wined3d: Save pixel and vertex shader resource views in stateblocks.

Matteo Bruni matteo.mystral at gmail.com
Sun Apr 9 12:51:50 CDT 2017


2017-04-05 19:03 GMT+02:00 Henri Verbeet <hverbeet at 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.



More information about the wine-devel mailing list