[Mesa-dev] [PATCH] r600g: fix loop break/continue operations

Vadim Girlin vadimgirlin at gmail.com
Mon Jan 23 01:23:19 PST 2012


Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
---

Tested on evergreen: fixes EXT_transform_feedback "order" tests, no regressions.

 src/gallium/drivers/r600/r600_shader.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index b6fd0f0..f430774 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -4430,11 +4430,9 @@ static int tgsi_loop_brk_cont(struct r600_shader_ctx *ctx)
 	}
 
 	r600_bytecode_add_cfinst(ctx->bc, ctx->inst_info->r600_opcode);
-	ctx->bc->cf_last->pop_count = 1;
 
 	fc_set_mid(ctx, fscp);
 
-	pops(ctx, 1);
 	callstack_check_depth(ctx, FC_PUSH_VPM, 1);
 	return 0;
 }
-- 
1.7.7.5



More information about the mesa-dev mailing list