summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-06-08 13:20:17 +1000
committerDave Airlie <[email protected]>2011-06-08 13:22:02 +1000
commita5329d4f789f0336780b38d9513cad1ed5cf1e07 (patch)
tree17cf556b3ebe1d975825ff345d053dd2ed1b63f2 /src/gallium/winsys
parent745abb53cf3f97600eed2e27361b82eb9727c41d (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/r600/drm/r600_hw_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_hw_context.c b/src/gallium/winsys/r600/drm/r600_hw_context.c
index 1d398bf9d7a..50a6dec38ba 100644
--- a/src/gallium/winsys/r600/drm/r600_hw_context.c
+++ b/src/gallium/winsys/r600/drm/r600_hw_context.c
@@ -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) {