projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ecbbc3
)
gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOP
author
Alan Hourihane
<alanh@vmware.com>
Mon, 26 Apr 2010 16:42:51 +0000
(17:42 +0100)
committer
Alan Hourihane
<alanh@vmware.com>
Mon, 26 Apr 2010 16:42:51 +0000
(17:42 +0100)
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 16741e41c8dcc4fa59e65d3a1b569407cb369b58..fac90c60064cccedb482e0bf34d6df7511ba5058 100644
(file)
--- 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;