fix
authorZou Nan hai <nanhai.zou@intel.com>
Fri, 28 Sep 2007 09:04:48 +0000 (17:04 +0800)
committerZou Nan hai <nanhai.zou@intel.com>
Fri, 28 Sep 2007 09:04:48 +0000 (17:04 +0800)
src/mesa/drivers/dri/i965/brw_wm_glsl.c

index c6fd7249210f387fbc8790c5142fdc7786ba0d8c..9b0b7aaa5511b76daa79da0df160149ad4cf68fb 100644 (file)
@@ -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);