i965/fs: Reimplement emit_single_fb_write() in terms of logical framebuffer writes.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 16 Jul 2015 13:12:48 +0000 (16:12 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:12:47 +0000 (14:12 +0300)
commitf18792aa10cedba2034762eade816c4c77ca46c6
tree6091346f5498195dcc93813ea6df4b8e31918174
parent59e7e6f7a21f13ff8963cf21af2e969f1f7961f5
i965/fs: Reimplement emit_single_fb_write() in terms of logical framebuffer writes.

The only non-trivial thing it still has to do is figure out where to
take the src/dst depth values from and predicate the instruction if
discard is in use.  The manual SIMD unrolling logic in the dual-source
case goes away because this is now handled transparently by the SIMD
lowering pass.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp