i965: Stop setting predication from brw_set_conditionalmod.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 30 May 2014 22:16:12 +0000 (15:16 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 2 Jun 2014 22:09:29 +0000 (15:09 -0700)
commitff340ce3c3326959027d7cb9a611c6fab1d89941
tree8e9deea67bd14d9acf103ee23944d4fe55255a9a
parent0985da542366cb6be8dc287db4a74c828a7e8fa4
i965: Stop setting predication from brw_set_conditionalmod.

brw_set_conditionalmod has traditionally been complex: it causes
conditionalmod to be set for the next instruction, and then predication
to be set on all future instructions after that.

We may want to generate a flag condition and not use it immediately,
due to instruction scheduling or the like.  Even if not, it's easy
to set things explicitly, and that's clearer.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_clip_line.c
src/mesa/drivers/dri/i965/brw_clip_tri.c
src/mesa/drivers/dri/i965/brw_clip_unfilled.c
src/mesa/drivers/dri/i965/brw_eu_emit.c