[Mesa-dev] [PATCH 1/4] mesa: add support for ARB_blend_func_extended
Eric Anholt
eric at anholt.net
Mon Mar 26 13:17:33 PDT 2012
On Mon, 26 Mar 2012 19:14:01 +0100, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at 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.
-------------- 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/mesa-dev/attachments/20120326/9c65bf35/attachment.pgp>
More information about the mesa-dev
mailing list