i965/fs: The barrier send uses only 1 payload register
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 15 Sep 2015 21:01:17 +0000 (14:01 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 15 Sep 2015 22:41:07 +0000 (15:41 -0700)
commit47e18a595731c054ac254e26066e6dea804f34e8
tree4bb1ba3c93ad60962e546e10cbeae2b488758618
parentcb503c322754dd9dba016e703cf8b30177ed157b
i965/fs: The barrier send uses only 1 payload register

When preparing the barrier payload, the instructions should operate in
simd8 mode since we only use 1 payload register.

fs_inst::regs_read is also updated to indicate that it only reads one
register for SHADER_OPCODE_BARRIER.

These issues were flagged by:

commit cadd7dd384b33a779d46bd664f456bed4a21a5b7
Author: Jason Ekstrand <jason.ekstrand@intel.com>
Date:   Thu Jul 2 15:41:02 2015 -0700

    i965/fs: Add a very basic validation pass

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp