[Mesa-dev] [PATCH 1/2] mesa: Set the correct ctx->NewState bitfield for rasterizer discard.

Paul Berry stereotype441 at gmail.com
Thu Dec 15 10:51:08 PST 2011


On 14 December 2011 13:42, Marek Olšák <maraeo at gmail.com> wrote:

> I think RASTERIZER_DISCARD has nothing to do with transform feedback.
> I think it's part of the same spec because it's not useful without it.
> As I understand it, _NEW_TRANSFORM_FEEDBACK is dirty when transform
> feedback buffer bindings are changed or just enabled/disabled. On the
> other hand, RASTERIZER_DISCARD enables or disables the rasterizer, so
> it should fall into the same category as face culling for example. (I
> even implemented it using face culling on r600)
>

Another thought which just came up in a discussion: in i965, face culling
only applies to triangles, so this wouldn't work for discarding points and
lines.  Is it possible that the same situation applies to r600?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111215/9996da0a/attachment.htm>


More information about the mesa-dev mailing list