i965/eu: Consider QtrCtrl 3Q-4Q in typed surface message descriptor setup.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 26 Apr 2016 02:18:30 +0000 (19:18 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:28:59 +0000 (23:28 -0700)
commit5c887326c516e2de710ff2d90ed608d834920688
tree6317f78f32a803bf9c4a8b285a22e6b40bf45239
parent448340d31f4d4d60fbd1935d5a50fe9ee22efd41
i965/eu: Consider QtrCtrl 3Q-4Q in typed surface message descriptor setup.

In SIMD32 programs the compiler is responsible for providing the
appropriate half of the sample mask in the message header, so the
first and third quarters both map to the first slot group of the
provided 16-bit half, while the second and fourth quarters map to the
second slot group -- IOW they should be equivalent to 1Q and 2Q modulo
two.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_eu_emit.c