r600g: set address of pop instructions to next instruction

This commit is contained in:
Fabian Bieler
2010-12-03 03:39:48 +01:00
committed by Jerome Glisse
parent 833f3a488a
commit cd431a12bf
+1
View File
@@ -2805,6 +2805,7 @@ static int pops(struct r600_shader_ctx *ctx, int pops)
{
r600_bc_add_cfinst(ctx->bc, CTX_INST(V_SQ_CF_WORD1_SQ_CF_INST_POP));
ctx->bc->cf_last->pop_count = pops;
ctx->bc->cf_last->cf_addr = ctx->bc->cf_last->id + 2;
return 0;
}