[4/8] WineD3D: Support the full amount of constants in GLSL
Henri Verbeet
hverbeet at gmail.com
Fri Apr 10 04:52:31 CDT 2009
2009/4/9 Stefan Dösinger <stefan at codeweavers.com>:
> if(pshader) {
> - max_constantsF = GL_LIMITS(pshader_constantsF) - (MAX_CONST_B / 4) - MAX_CONST_I - 2;
> - max_constantsF = min(This->baseShader.limits.constant_float, max_constantsF);
> + /* No indirect addressing here */
> + max_constantsF = GL_LIMITS(pshader_constantsF);
> } else {
Actually, can't at least 2.x pixel shaders do relative addressing as well?
More information about the wine-devel
mailing list