intel/fs: Properly track implied header regs read by FB writes
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 May 2018 22:40:48 +0000 (15:40 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Jun 2018 20:19:38 +0000 (13:19 -0700)
commitb1cc9a9ae18a6b4133b83107a3bd8a401b3a8010
tree7528b6e494487126dfa4a62e2b29972afa61b7f2
parentd91fa20655bbfbd42b0ddb6acb84db7482e7ddb1
intel/fs: Properly track implied header regs read by FB writes

The FB write opcode on gen4-5 does implied copies from g0 and g1 to the
message payload.  With this commit, we start tracking that as part of
the IR by having the FB write read from g0-1.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs.cpp