Module: Mesa
Branch: master
Commit: d89c96c75dbb9c003e4643942f2cce8d6cd4995b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d89c96c75dbb9c003e4643942f2cce8d6cd4995b

Author: Vadim Girlin <[email protected]>
Date:   Mon Jan 23 13:23:19 2012 +0400

r600g: fix loop break/continue operations

Signed-off-by: Vadim Girlin <[email protected]>

---

 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 85bbad3..a3724c2 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;
 }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to