[PATCH 5/5] wined3d: Print a warning when an ARB program exceeds the native resource limits.
hverbeet at gmail.com
Wed Sep 2 08:07:42 CDT 2009
2009/9/2 Stefan Dösinger <stefandoesinger at gmx.at>:
> 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)); +
>> + 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.
It isn't necessarily a problem when this happens, it's more meant as a
diagnostic while debugging.
More information about the wine-devel