From: Vadim Girlin Date: Mon, 23 Jan 2012 09:23:19 +0000 (+0400) Subject: r600g: fix loop break/continue operations X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d89c96c75dbb9c003e4643942f2cce8d6cd4995b;p=mesa.git r600g: fix loop break/continue operations Signed-off-by: Vadim Girlin --- diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 85bbad3b951..a3724c21dbb 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -4489,11 +4489,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; }