i965: Replace brw_wm_* with dumping code into the fs_visitor.
authorEric Anholt <eric@anholt.net>
Mon, 27 Aug 2012 21:35:01 +0000 (14:35 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 8 Oct 2012 15:50:27 +0000 (08:50 -0700)
commit97615b2d8c7c3cea6fd3a43bcb1739a96e2046c4
treee8b5b5bedbf9ec120b2b2cbecce3fda3e49795e8
parent014aaa97d3d7f78629e6e030953be0e9fb7f33dd
i965: Replace brw_wm_* with dumping code into the fs_visitor.

This makes a giant pile of code newly dead.  It also fixes TXB on newer
chipsets, which has been totally broken (I now have a piglit test for that).
It passes the same set of Ian's ARB_fragment_program tests.  It also improves
high-settings ETQW performance by 3.2 +/- 1.9% (n=3), thanks to better
optimization and having 8-wide along with 16-wide shaders.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=24355
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_emit.cpp
src/mesa/drivers/dri/i965/brw_fs_fp.cpp [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/drivers/dri/i965/gen6_wm_state.c
src/mesa/drivers/dri/i965/gen7_wm_state.c