Mesa (master): gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOP
Alan Hourihane
alanh at kemper.freedesktop.org
Mon Apr 26 16:43:28 UTC 2010
Module: Mesa
Branch: master
Commit: 06574e45b418dab1ec106773c92b7d9e5af45c81
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=06574e45b418dab1ec106773c92b7d9e5af45c81
Author: Alan Hourihane <alanh at vmware.com>
Date: Mon Apr 26 17:42:51 2010 +0100
gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOP
---
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 12 ++----------
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 16741e4..fac90c6 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;
More information about the mesa-commit
mailing list