[1/7] [wined3d] add ps_np2fixup_t struct to ps_compiled_shader

Stefan Dösinger stefandoesinger at gmx.at
Wed Apr 22 09:23:35 CDT 2009

Am Dienstag, 21. April 2009 23:37:51 schrieb Tobias Jakobi:

> +    unsigned char   idx[MAX_FRAGMENT_SAMPLERS]; /* indices to the real 
constant */
I don't remember how you plan to use the ps_np2fixup_t structure in the ARB 
backend, but an unsigned char might turn out to be too limited if you end up 
storing ARB constant numbers in there, since cards can have more than 256 
constants. For your GLSL code it is good enough because you just store values 
from 1-8.

More information about the wine-devel mailing list