i965: Don't use message headers for untyped reads
authorKristian Høgsberg Kristensen <krh@bitplanet.net>
Sat, 17 Oct 2015 04:38:05 +0000 (21:38 -0700)
committerKristian Høgsberg Kristensen <krh@bitplanet.net>
Fri, 23 Oct 2015 16:42:28 +0000 (09:42 -0700)
commitde5a450bd360d24db65cbba5b6633f800fda0d2e
tree6583e9b579de40433ad972687c7bc0fd03d14b1e
parent2f1bc1da864f8d169427b911bf60e1023321e420
i965: Don't use message headers for untyped reads

We always set the mask to 0xffff, which is what it defaults to when no
header is present. Let's drop the header instead.

v2: Only remove header for untyped reads. Typed reads always need the
    header.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Kristian Høgsberg Kristensen <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_fs.cpp