gallivm: fix copy&paste error: s/cont_stack_size/break_stack_size/
authorBrian Paul <brianp@vmware.com>
Wed, 21 Apr 2010 23:58:26 +0000 (17:58 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 21 Apr 2010 23:58:32 +0000 (17:58 -0600)
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c

index 4cfe6015d9b238920668a46b972ae38179ec9468..f70e96dfde8b6ecace2772a0c2e10a89dc7ef875 100644 (file)
@@ -227,7 +227,7 @@ static void lp_exec_bgnloop(struct lp_exec_mask *mask)
 
    if (mask->cont_stack_size == 0)
       mask->cont_mask = LLVMConstAllOnes(mask->int_vec_type);
-   if (mask->cont_stack_size == 0)
+   if (mask->break_stack_size == 0)
       mask->break_mask = LLVMConstAllOnes(mask->int_vec_type);
    if (mask->cond_stack_size == 0)
       mask->cond_mask = LLVMConstAllOnes(mask->int_vec_type);