i965/vs: Use a fixed set of register classes.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 21 Aug 2013 23:01:45 +0000 (16:01 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 26 Aug 2013 18:21:10 +0000 (11:21 -0700)
commit528d70d0b5fd2722bc32d42d8859865081cf0730
tree5c7b19a2a1fa26609b308f5c5c0a7783d99c1442
parentcfe39ea14edc8db13c549b853b214e676f8276f1
i965/vs: Use a fixed set of register classes.

Arrays, structures, and matrices use large VGRFs of arbitrary sizes.
However, split_virtual_grfs() breaks those down into VGRFs of size 1.

For reference, commit 5d90b988791e51cfb6413109271ad102fd7a304c is the
analogous change to the FS backend.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp