i965/fs: Fix segfault in instruction scheduling with LINTERP using last GRF. 88/6788/1
authorEric Anholt <eric@anholt.net>
Thu, 9 May 2013 16:00:11 +0000 (09:00 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 29 May 2013 17:16:44 +0000 (10:16 -0700)
commit9a31c4f9ace9ed115e54df8bc769ea9748f25d39
tree86019fb9a46a107faa290def4119d9b95512aaf5
parent7e7600d10b9bf29d23b1aefc5c208fc73a21163f
i965/fs: Fix segfault in instruction scheduling with LINTERP using last GRF.

The scheduler didn't know about uniform-type accesses, and if a uniform
access was last in a 16-wide, we'd walk off the end of the array.  This
never happened, because we'd never coalesce out all the GRFs, due to a bug
to be fixed in the next commit.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp