i965/fs: Add support for specifying register horizontal strides.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 8 Dec 2013 03:57:35 +0000 (04:57 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 12 Feb 2014 22:07:57 +0000 (23:07 +0100)
commit756d37b1d6d09ad7ee3b8835888a49d4256e427b
tree14c42ac76c4de97878daf36da4953868288323e3
parent4c7206bafdd7bde7617e14840812e43459682718
i965/fs: Add support for specifying register horizontal strides.

v2: Some improvements for copy propagation with non-contiguous
    register strides and mismatching types.
v3: Add example of the situation that the copy propagation changes are
    intended to avoid.  Clarify that 'fs_reg::apply_stride()' is expected
    to work with zero strides too.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp