[Mesa-dev] [PATCH 1/6] i965/fs: Use SURF_INDEX_DRAW() when emitting FB writes.

Paul Berry stereotype441 at gmail.com
Fri Aug 16 06:10:49 PDT 2013


On 14 August 2013 21:07, Kenneth Graunke <kenneth at whitecape.org> wrote:

> SURF_INDEX_DRAW is the identity function, and it's unlikely that it will
> change, but we may as well use it for documentation's sake.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
>

The comment above the declaration of SURF_INDEX_DRAW (brw_context.h) says
that it's never used:

 * Note that nothing actually uses the SURF_INDEX_DRAW macro, so it has to
be
 * the identity function or things will break.  We do want to keep draw
buffers
 * first so we can use headerless render target writes for RT 0.

Would you mind updating the comment in this commit?

With that fixed, this patch is:

Reviewed-by: Paul Berry <stereotype441 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130816/3e149f62/attachment.html>


More information about the mesa-dev mailing list