summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorZou Nan hai <[email protected]>2007-09-28 17:04:48 +0800
committerZou Nan hai <[email protected]>2007-09-28 17:04:48 +0800
commite75ae0dc792b9fe599b68d7a9ea0ab22413da424 (patch)
tree2c4ca1586e614b31c6fcce3ee7f244db73ceef06 /src/mesa/drivers/dri
parent4087c90effecdf2f466e2ddcf88ec2faf0db034f (diff)
fix
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_glsl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_glsl.c b/src/mesa/drivers/dri/i965/brw_wm_glsl.c
index c6fd7249210..9b0b7aaa551 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_glsl.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_glsl.c
@@ -1232,7 +1232,6 @@ static void brw_wm_emit_glsl(struct brw_wm_compile *c)
case OPCODE_CAL:
brw_push_insn_state(p);
brw_set_mask_control(p, BRW_MASK_DISABLE);
- brw_set_predicate_control(p, BRW_PREDICATE_NONE);
brw_set_access_mode(p, BRW_ALIGN_1);
brw_ADD(p, deref_1uw(stack_index, 0), brw_ip_reg(), brw_imm_d(3*16));
brw_set_access_mode(p, BRW_ALIGN_16);
@@ -1247,7 +1246,6 @@ static void brw_wm_emit_glsl(struct brw_wm_compile *c)
case OPCODE_RET:
brw_push_insn_state(p);
brw_set_mask_control(p, BRW_MASK_DISABLE);
- brw_set_predicate_control(p, BRW_PREDICATE_NONE);
brw_ADD(p, get_addr_reg(stack_index),
get_addr_reg(stack_index), brw_imm_d(-4));
brw_set_access_mode(p, BRW_ALIGN_1);