intel/eu: Plumb header present bit to codegen helpers for HDC messages.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 12 Dec 2017 20:05:03 +0000 (12:05 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 2 Mar 2018 19:28:56 +0000 (11:28 -0800)
commite7c9adca5726a8c96de20ae7c5f21a30061db392
tree0fc5f36bfcafaf9db3c6e076ee85b0d5038461a2
parent6edb332b44b2570abac8fea2123050ea0f84e1e6
intel/eu: Plumb header present bit to codegen helpers for HDC messages.

This makes sure that the header-present bit of the message descriptor
is in sync with the IR instruction fields, which gives the optimizer
more control to avoid the overhead of setting up a message header when
it's possible to do so.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_eu.h
src/intel/compiler/brw_eu_emit.c
src/intel/compiler/brw_fs_generator.cpp
src/intel/compiler/brw_vec4_generator.cpp