[PATCH 5/5] wined3d: Print a warning when an ARB program exceeds the native resource limits.

Stefan Dösinger stefandoesinger at gmx.at
Wed Sep 2 07:56:48 CDT 2009


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.



More information about the wine-devel mailing list