summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_clip_util.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2014-06-07 22:22:41 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-06-26 11:45:40 -0700
commiteedc5bbc69b051a6456563dda0db1890f8a6cea2 (patch)
treeaf303f52dd4444a434f6f0f3470b8374ddea6473 /src/mesa/drivers/dri/i965/brw_clip_util.c
parent7213e1ddc7ae0fd2dac1bd297c9912841c228589 (diff)
i965: Convert Gen4-5 clipping code to the new brw_inst API.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip_util.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_clip_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_util.c b/src/mesa/drivers/dri/i965/brw_clip_util.c
index 5fb46b6e93..6f4775dbb7 100644
--- a/src/mesa/drivers/dri/i965/brw_clip_util.c
+++ b/src/mesa/drivers/dri/i965/brw_clip_util.c
@@ -448,7 +448,7 @@ void brw_clip_ff_sync(struct brw_clip_compile *c)
if (brw->gen == 5) {
brw_AND(p, brw_null_reg(), c->reg.ff_sync, brw_imm_ud(0x1));
- brw_last_inst->header.destreg__conditionalmod = BRW_CONDITIONAL_Z;
+ brw_inst_set_cond_modifier(brw, brw_last_inst, BRW_CONDITIONAL_Z);
brw_IF(p, BRW_EXECUTE_1);
{
brw_OR(p, c->reg.ff_sync, c->reg.ff_sync, brw_imm_ud(0x1));