Paul Berry <stereotype...@gmail.com> writes:

> Gen7 adds mask bits to the message header for a URB write which allow
> the write to apply only to certain channels.  We don't use this
> functionality, so to ensure that the entire write always occurs, we
> emit an OR instruction to set the mask bits.
>
> With the advent of geometry shaders, URB writes won't just happen at
> the end of a thread; they will happen in mid-thread too.  Thus, we can
> no longer rely on channel 0 being enabled, so we need to emit the OR
> instruction in WE_all mode to ensure that it is executed.

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgpp7DcwcHBB_.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to