i965: Implement ARB_shader_stencil_export (gen9+)
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 20 Oct 2015 21:29:39 +0000 (14:29 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Thu, 22 Oct 2015 04:14:44 +0000 (21:14 -0700)
commit1db44252d01bf7539452ccc2b5210c74b8dcd573
treee6462ebd87b31482fe9049b15ed9cc5de034c1fd
parent5fa7114652068735347c8715d1fc1d2cef72c433
i965: Implement ARB_shader_stencil_export (gen9+)

v2: remove useless source_stencil_to_render_target (Ken)
Squash in the actual packing function, which also got to
  v2:
Move the definition of the OPCODE outside of FB_WRITE opcodes (Matt)
Reorder the regioning to be in VWH order (Matt)
Don't retype src in the backend, just assert instead (Matt)
Rename the debug prints to something better (Matt)

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/gen8_ps_state.c