I'm working on a series (which I hope to send out soon) that will allow us to have explicit register widths and instruction execution sizes in the fs backend IR. If you want to see where I'm going with this, I've got a working version here:
http://cgit.freedesktop.org/~jekstrand/mesa/log/?h=wip/kill-mrf-v0.5 I'm planning to get that cleaned up a bit more and hope to send the full series out by the end of today or maybe Monday. This series is a bunch of cleanup patches that will be needed eventually, but don't really change anything important on their own. They should be generally reviewable by anyone with a decent understanding of the i965 fs backend. Jason Ekstrand (12): i965/fs: Manually generate the meta fast-clear shader i965/fs_live_variables: Use var_from_vgrf insead of repeating the calculation i965/fs: Rewrite fs_visitor::split_virtual_grfs i965/fs: fix a comment in compact_virtual_grfs i965/fs: Use offset a lot more places i965/fs: Use the UW type for the destination of VARYING_PULL_CONSTANT_LOAD instructions i965/fs: Use the var_from_vgrf helper function instead of doing it manually i965/fs: Make null_reg_* const members of fs_visitor instead of globals i964/fs: Make immediate fs_reg constructors explicit i965/fs: Make compact_virtual_grfs an optimization pass i965/fs: Print BAD_FILE registers in dump_instruction i965/fs: Clean up emit_fb_writes src/mesa/drivers/dri/i965/brw_fs.cpp | 295 +++++++++--------- src/mesa/drivers/dri/i965/brw_fs.h | 21 +- src/mesa/drivers/dri/i965/brw_fs_cse.cpp | 12 +- .../dri/i965/brw_fs_dead_code_eliminate.cpp | 10 +- src/mesa/drivers/dri/i965/brw_fs_fp.cpp | 2 +- src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 4 +- .../drivers/dri/i965/brw_fs_live_variables.cpp | 4 +- src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 4 +- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 338 +++++++++------------ src/mesa/drivers/dri/i965/brw_reg.h | 6 + 10 files changed, 323 insertions(+), 373 deletions(-) -- 2.1.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev