From 06574e45b418dab1ec106773c92b7d9e5af45c81 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Mon, 26 Apr 2010 17:42:51 +0100 Subject: gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOP --- src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c') diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index 16741e41c8..fac90c6006 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; -- cgit v1.2.3