summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2007-09-28 17:04:48 +0800
committerZou Nan hai <nanhai.zou@intel.com>2007-09-28 17:04:48 +0800
commite75ae0dc792b9fe599b68d7a9ea0ab22413da424 (patch)
tree2c4ca1586e614b31c6fcce3ee7f244db73ceef06
parent4087c90effecdf2f466e2ddcf88ec2faf0db034f (diff)
fix
-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 c6fd724921..9b0b7aaa55 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);