i965/fs: Add missing analysis invalidation in opt_sampler_eot().
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 11 Mar 2016 23:22:56 +0000 (15:22 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 14 Mar 2016 21:56:02 +0000 (14:56 -0700)
commit6691c03fd39be463e1d222b56e3ec8da9f3b7f24
treef0b8f289cd072e46e71b5fefe27641aa21d541c9
parent4d02e91e4938c98bcf9d4e57ab2e5463bb42e836
i965/fs: Add missing analysis invalidation in opt_sampler_eot().

Bug found by the liveness analysis validation pass that will be
introduced in a later commit.  opt_sampler_eot() was allocating
registers and inserting and removing instructions, which makes the
cached liveness analysis calculation inconsistent with the shader IR,
so it must be invalidated.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp