i965/fs: Invalidate live intervals when demoting uniforms to pull params.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 11 Mar 2014 06:55:21 +0000 (23:55 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 14 Mar 2014 20:18:46 +0000 (13:18 -0700)
commit7554539d7ebbed5f5048ddeadaf5a5dc6e2ce2a6
tree462a2a715a0024af483218b2ff309dab5fac9bca
parent13782dcf9d34a1bd276312cdecc44deb8f7caafd
i965/fs: Invalidate live intervals when demoting uniforms to pull params.

Normally, nothing uses live intervals at this point, so this isn't
necessary.  However, dump_instructions() calculates them and uses them
to show register pressure.  So, calling dump_instructions() in this area
of the code would segfault due to the arrays being the wrong size.

This is not a candidate for stable branches because it only serves to
fix internal debugging code that you manually have to invoke by altering
the source code or using gdb.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp