[Mesa-dev] [PATCH] i965: Add missing BRW_NEW_STATE_BASE_ADDRESS to scissor state atom.

Eric Anholt eric at anholt.net
Thu Jan 30 15:59:01 PST 2014


Kenneth Graunke <kenneth at whitecape.org> writes:

> The "pointer" value is relative to the base address, so if we change the
> base address, we'd better re-emit this.

I see about 50 callers of brw_state_batch, but only about 8 that flag
BRW_NEW_STATE_BASE_ADDRESS (some of which, iirc, are "things that must
be reemitted if is emitted, even if the SBAs don't change).  I guess I
could see converting them all to also flagging BRW_NEW_SBA, but I think
the BRW_NEW_BATCH they all have is sufficient.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140130/f6f1b5ad/attachment.pgp>


More information about the mesa-dev mailing list