summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorFabian Bieler <der.fabe@gmx.net>2010-12-03 03:39:48 +0100
committerJerome Glisse <jglisse@redhat.com>2010-12-03 11:35:44 -0500
commitcd431a12bf1f0c47dac6bf10c2d9edb5726fe6fe (patch)
treec1dede58f0e23083364b961d2e86ccef44e31ac3 /src/gallium
parent833f3a488a7ba0fa59e25f1e518f6b4616270143 (diff)
r600g: set address of pop instructions to next instruction
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index b6d815f43e..60e67942af 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -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;
}