summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2012-01-23 13:23:19 +0400
committerDave Airlie <[email protected]>2012-01-24 21:33:24 +1000
commitd89c96c75dbb9c003e4643942f2cce8d6cd4995b (patch)
tree51a45f3776b8d8a098908c5293646839e0fa9f03
parentc4d644bac1e738af7e2a3f1bef7eea09df8bb81c (diff)
r600g: fix loop break/continue operations
Signed-off-by: Vadim Girlin <[email protected]>
-rw-r--r--src/gallium/drivers/r600/r600_shader.c2
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 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;
}