i965: don't use GRF regs 126,127 for WM programs
authorBrian Paul <brianp@vmware.com>
Fri, 8 May 2009 18:43:58 +0000 (12:43 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 8 May 2009 18:45:08 +0000 (12:45 -0600)
commite2cf522de09bc4afa18ef8d98db69973ee489d58
treee7e030792aedb3ec6d5628707ed1d2147c3d801b
parent40cba5489d963d4903d9c2385775f880824310da
i965: don't use GRF regs 126,127 for WM programs

They seem to be used for something else and using them for shader temps
seems to lead to GPU lock-ups.
Call _mesa_warning() when we run out of temps.
Also, clean up some debug code.
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/brw_wm_glsl.c