Am Wednesday 02 September 2009 09:27:58 schrieb Henri Verbeet:
GL_EXTCALL(glGetProgramivARB(GL_FRAGMENT_PROGRAM_ARB,
GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB, &native)); + checkGLcall("glGetProgramivARB()");
if (!native) WARN("Program exceeds native resource limits.\n");
- }
shouldn't that be a FIXME? The most likely reasons for this are either that we advertise incorrect caps, or our privately added code breaks the limits, or that the driver is broken. In the first two cases we can do something, and in the other case we might want to report the issue to the driver devs
That said, I haven't seen a GL implementation yet that successfully compiles and SW-emulates a program that exceeds the limits.