r600g: fix regression in recent state changes.

We weren't emitting the SQ setup regs at all which really is
fail.

When a state is always enabled we need to add it to the dirty list
as well.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie
2011-06-08 13:20:17 +10:00
parent 745abb53cf
commit a5329d4f78

View File

@@ -112,6 +112,7 @@ static void r600_init_block(struct r600_context *ctx,
if (reg[i+j].flags & REG_FLAG_ENABLE_ALWAYS) {
block->status |= R600_BLOCK_STATUS_ENABLED;
LIST_ADDTAIL(&block->enable_list, &ctx->enable_list);
LIST_ADDTAIL(&block->list,&ctx->dirty);
}
if (reg[i+j].flags & REG_FLAG_NEED_BO) {