i965: make BRW_COMPRESSION_2NDHALF valid for brw_SAMPLE
authorChia-I Wu <olv@lunarg.com>
Fri, 27 Sep 2013 07:23:56 +0000 (15:23 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 9 Oct 2013 06:49:11 +0000 (14:49 +0800)
commit44f0777f17df13f504602e76d7f5ba0edc642081
tree49a472fd1c466503d7adc70e63407ba664338fa9
parent1176a3aac65dfe935809182bfac883708def8046
i965: make BRW_COMPRESSION_2NDHALF valid for brw_SAMPLE

SIMD8 sampler messages are allowed in SIMD16 mode, and they could not work
without BRW_COMPRESSION_2NDHALF.  Later PRMs (gen5 and later) do not
explicitly state whether BRW_COMPRESSION_2NDHALF is allowed, but they do have
examples using send with SecHalf.  It should be safe to assume SecHalf is
valid.

Signed-off-by: Chia-I Wu <olv@lunarg.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_eu_emit.c