2009/4/9 Stefan Dösinger stefan@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?