Aliased names for glCreateShader and glCreateShaderObjectARB

Eric Anholt eric at anholt.net
Tue Sep 4 12:27:52 PDT 2012


Carl Worth <cworth at cworth.org> writes:

> José Fonseca <jose.r.fonseca at gmail.com> writes:
>>> I recently found a program mixing calls to glCreateShaderObjectARB and
>>> glUseProgram, (rather than sticking to consistent use of
>>> glUseProgramObjectARB).
>
> And yesterday I found myself uselessly going through the process of
> debugging the exact same failure mode (with the exact same program).
>
> Apparently, I failed to hold on to the quick hack I had made to make
> apitrace work with this program. (And, also, I failed to get anything
> upstream to fix this.) So here I hope to document things better and
> hopefully move toward getting something upstream.
>
>> Concerning this app, what about masking out support for
>> GL_ARB_shader_objects when tracing? Does that yield a lean trace that
>> only uses the core entrypoints?
>
> We tried this yesterday, and unfortunately it didn't cause any behavior
> change in the program. So clearly there's a bug in the program. We'll
> try to talk to the application authors and get things fixed, (might as
> well not doing any mixing of the calls at all). So hopefully this
> problem will go away for this particular application.

Any progress on getting this actually fixed?  It wasted a bunch of my
time this morning, too.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20120904/ff334af0/attachment.pgp>


More information about the apitrace mailing list