i965/vs: Improve live interval calculation.
authorEric Anholt <eric@anholt.net>
Wed, 3 Oct 2012 20:44:12 +0000 (13:44 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 17 Oct 2012 19:24:01 +0000 (12:24 -0700)
commit20ebebac5153affcbd44350332678a2fb04d4c96
tree0ff1393d64d9290313a85859a65d4cb828208948
parente1a518e2b1490ff4afe2efc69aa64e193bfb1324
i965/vs: Improve live interval calculation.

This is derived from the FS visitor code for the same, but tracks each channel
separately (otherwise, some typical fill-a-channel-at-a-time patterns would
produce excessive live intervals across loops and cause spilling).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48375
          (crash -> failure, can turn into pass by forcing unrolling still)
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_vec4_live_variables.h [new file with mode: 0644]