OSDN Git Service

i965/vs: Add support for splitting virtual GRFs.
authorEric Anholt <eric@anholt.net>
Wed, 3 Oct 2012 17:04:22 +0000 (10:04 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 10 Oct 2012 20:22:56 +0000 (13:22 -0700)
commit34c58acb59bc0b827e28ef9e89044621ab0b3ee1
tree58ed0594adce1f52b45daf5d1436733343f0d0f4
parentd4bcc6591812ebe72a363cf98371de5e5016f481
i965/vs: Add support for splitting virtual GRFs.

This should improve our ability to register allocate without spilling.
Unfortuantely, due to the live variable analysis being ignorant of loops, we
still have register allocation failures on some programs.

v2: Add more context to the comment explaining the function.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp