i965/fs: Add emit_cs_terminate to emit CS_OPCODE_CS_TERMINATE
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 12 Apr 2015 09:06:57 +0000 (02:06 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 2 May 2015 07:34:28 +0000 (00:34 -0700)
commitd79cdee1d9d14c74e9838fd8248e8c7a4588f9e4
tree18075383fea47f40b3577cbe6a10f22513945c99
parenteeb4b68224560b199d2e7f12c770adc511eb5e60
i965/fs: Add emit_cs_terminate to emit CS_OPCODE_CS_TERMINATE

v2:
 * Do more work at the visitor level. g0 is loaded and sent to the
   generator now.

v3:
 * Use Ken's comment explaining g0 usage

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp