[Mesa-dev] [PATCH 05/10] i965: Remove EOT parameter from brw_SAMPLE and brw_set_sampler_message.

Eric Anholt eric at anholt.net
Tue Oct 11 21:14:32 PDT 2011

On Mon, 10 Oct 2011 16:31:48 -0700, Kenneth Graunke <kenneth at whitecape.org> wrote:
> The existing code asserted that eot == 0, as it doesn't make sense for
> a thread to sample a texture as the last thing it does.
> It doesn't make much sense to pass around a dead parameter either.
> Especially for a function which already has a long parameter list.
> So, remove the parameter and just set EOT to 0.
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- 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/20111011/d61e9602/attachment.pgp>

More information about the mesa-dev mailing list