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.
756d37b i965/fs: Add support for specifying register horizontal strides.
src/mesa/drivers/dri/i965/brw_fs.cpp | 24 +++++++++++--
src/mesa/drivers/dri/i965/brw_fs.h | 5 +++
.../drivers/dri/i965/brw_fs_copy_propagation.cpp | 36 ++++++++++++++++++--
src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 8 +++--
.../drivers/dri/i965/brw_fs_live_variables.cpp | 2 +-
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 4 +--
6 files changed, 68 insertions(+), 11 deletions(-)
Upstream: cgit.freedesktop.org