i965: move the fetch_constants() call before setting conditional mod state
authorBrian Paul <brianp@vmware.com>
Wed, 8 Apr 2009 19:48:34 +0000 (13:48 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 9 Apr 2009 01:37:33 +0000 (19:37 -0600)
commited9ba19bbbcdbf864b39da21c314073c1b5462db
tree0d76279b6283493bba1beab82f1b0e48fcd6731a
parentf4468384b6caf2aa5cfc7546c08f349af93d928e
i965: move the fetch_constants() call before setting conditional mod state

Before, the instruction's CondUpdate field was mistakenly effecting the
constant-fetch operation.

Fixes progs/glsl/bump.c demo.  But there are some other issues related
to condition flags and IF/ELSE that need investigation...
src/mesa/drivers/dri/i965/brw_wm_glsl.c