i965/fs: Fix broken rendering in large shaders with UBO loads.
authorEric Anholt <eric@anholt.net>
Wed, 6 Mar 2013 23:58:46 +0000 (15:58 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 11 Mar 2013 19:11:53 +0000 (12:11 -0700)
commit1323772543083dec23baf5a50222bdfc88ff6c3a
tree350e8efb9fb4bbdf1a5204248b3c943248587da8
parentc588cd2031c134827f15deef147fb1eaf14af028
i965/fs: Fix broken rendering in large shaders with UBO loads.

The lowering process creates a new vgrf on gen7 that should be represented
in live interval analysis.  As-is, it was getting a conflicting allocation
with gl_FragDepth in the dolphin emulator, producing broken rendering.

NOTE: This is a candidate for the 9.1 branch.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61317
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp