i965/fs: Set fs_inst::header_present for untyped atomics/surface reads.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 18 Apr 2014 17:22:13 +0000 (10:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 1 May 2014 07:24:04 +0000 (00:24 -0700)
commitf1cd9fee53f743ed4621c2541f0058a874b4bea1
treef81798b34dc4c6d1fbf17ab71d35a9c10cd93082
parent4d9c27df4539a96255c98a183c93685ee0e42df6
i965/fs: Set fs_inst::header_present for untyped atomics/surface reads.

The brw_eu_emit.c code manually forces the header present bit when
used in align1 (scalar) mode.  So, this has no effect currently.

However, it is nice to have fs_inst::header_present reflect reality.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77221
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp