OSDN Git Service

i965/fs: Add gen6 register spilling support.
authorEric Anholt <eric@anholt.net>
Fri, 15 Apr 2011 02:36:28 +0000 (19:36 -0700)
committerEric Anholt <eric@anholt.net>
Sun, 17 Apr 2011 17:26:09 +0000 (10:26 -0700)
commit59c6b775a6aacfe03c84dae62c2fd45d4af9d70b
tree5391952408a854713bd069653e071061affd6aca
parent14eedf3028422e98ac05713a3e3c37e6c9b4cf37
i965/fs: Add gen6 register spilling support.

Most of this is code movement to get the scratch space allocated in a
shared location.  Other than that, the only real changes are that the
old oword block messages now operate on oword-aligned areas (with new
messages for unaligned access, which we don't do), and that the
caching control is in the SFID part of the descriptor instead of
message control.

Fixes glsl-fs-convolution-1.
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/drivers/dri/i965/gen6_wm_state.c