On Mon, Mar 26, 2012 at 9:17 PM, Eric Anholt <e...@anholt.net> wrote: > On Mon, 26 Mar 2012 19:14:01 +0100, Dave Airlie <airl...@gmail.com> wrote: >> From: Dave Airlie <airl...@redhat.com> >> >> Add implementations of the two API functions, >> Add a new strings to uint mapping for index bindings >> Add the blending mode validation for SRC1 + SRC_ALPHA_SATURATE >> Add get for MAX_DUAL_SOURCE_DRAW_BUFFERS >> >> The GLSL patch will setup the indices. > > Given > > The command > > void BindFragDataLocation(uint program, uint colorNumber, const char * > name) > > is equivalent to calling BindFragDataLocationIndexed with the same values > for <program>, <colorNumber> and <name>, and with <index> set to zero. > > it seems like you could avoid basically duplicating the existing > function by calling the new entrypoint.
I did :-), I have to say git diff has made the worst possible patch out of the code, it might be best to apply it and then read the result :) Dave. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev