aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2010-04-26 17:42:51 +0100
committerAlan Hourihane <[email protected]>2010-04-26 17:42:51 +0100
commit06574e45b418dab1ec106773c92b7d9e5af45c81 (patch)
treebc03d762ce51ac74bf280feec4a69d8602449597
parent6ecbbc3c056d177174c97ac4d1a57abed3ac3177 (diff)
gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOP
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 16741e41c8d..fac90c60064 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@ -1601,11 +1601,7 @@ emit_instruction(
break;
case TGSI_OPCODE_BGNFOR:
- /* deprecated */
- assert(0);
- return FALSE;
- break;
-
+ /* fall through */
case TGSI_OPCODE_BGNLOOP:
lp_exec_bgnloop(&bld->exec_mask);
break;
@@ -1625,11 +1621,7 @@ emit_instruction(
break;
case TGSI_OPCODE_ENDFOR:
- /* deprecated */
- assert(0);
- return FALSE;
- break;
-
+ /* fall-through */
case TGSI_OPCODE_ENDLOOP:
lp_exec_endloop(&bld->exec_mask);
break;