Am Freitag 20 Oktober 2006 00:04 schrieb H. Verbeet: > Well, the number of sampler stages (and thus the number of sampler > stage states) for example is dependant on hardware limits, so you > can't really use the "#define STATE_SAMPLER(b, a) > STATE_RENDER(WINEHIGHEST_RENDER_STATE + > WINEHIGHEST_SAMPLER_STATE * b + a)" macro since > WINEHIGHEST_SAMPLER_STATE would be non-constant. include/wine/wined3d_types.h
#define WINED3D_HIGHEST_SAMPLER_STATE WINED3DSAMP_DMAPOFFSET WINED3DSAMP_DMAPOFFSET = 13, and dlls/wined3d/wined3d_private.h #define MAX_SAMPLERS 16
