i965: Drop unnecessary brw_set_conditionalmod() before brw_CMP().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 28 May 2014 07:02:18 +0000 (00:02 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 2 Jun 2014 22:09:26 +0000 (15:09 -0700)
commit0985da542366cb6be8dc287db4a74c828a7e8fa4
tree7033731ea4667f5e0b974268397fe44d9047f7e5
parent0bfac24caf89a163d8149e69b9eaa7ae5c71d550
i965: Drop unnecessary brw_set_conditionalmod() before brw_CMP().

brw_CMP already takes a conditional modifier as a parameter, and sets it
accordingly.  brw_set_conditionalmod() also makes everything after the
next instruction predicated, but we don't need that: we always emit an
IF instruction after load_clip_distance(), and that's already
predicated.

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