i965: Fix off-by-ones in handling the last members of register classes.
authorEric Anholt <eric@anholt.net>
Fri, 1 Oct 2010 23:36:17 +0000 (16:36 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 2 Oct 2010 00:19:04 +0000 (17:19 -0700)
commit6397addd6146661689a0e315b06e543ef12d8868
tree1421c7214d0cc0d492b991b42dedddcaa5a9ad6d
parentafb64311e3484002e06aeac62187b68467610449
i965: Fix off-by-ones in handling the last members of register classes.

Luckily, one of them would result in failing out register allocation
when the other bugs were encountered.  Applies to
glsl-fs-vec4-indexing-temp-dst-in-nested-loop-combined, which still
fails register allocation, but now legitimately.
src/mesa/drivers/dri/i965/brw_fs.cpp