[Mesa-dev] [PATCH v02 36/37] i965: Port gen6+ 3DSTATE_CC_STATE_POINTERS state to genxml.

Kenneth Graunke kenneth at whitecape.org
Wed Apr 26 01:25:54 UTC 2017


On Monday, April 24, 2017 3:19:31 PM PDT Rafael Antognolli wrote:
[snip]
> +   brw_batch_emit(brw, GENX(3DSTATE_CC_STATE_POINTERS), ptr) {
> +      ptr.ColorCalcStatePointer = brw->cc.state_offset;
> +#if GEN_GEN != 7
> +      ptr.ColorCalcStatePointerValid = true;
> +#endif
> +   }
> +}

Ah, tricky...genxml on gen7/7.5 has the valid bit marked as "mbo", so it
just fill it in for you automatically.  Neat.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170425/a4bccbb4/attachment.sig>


More information about the mesa-dev mailing list