summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nvc0
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2013-06-02 17:55:34 +0200
committerIlia Mirkin <[email protected]>2014-05-23 12:34:38 -0400
commit49eccef06b0b4ca7d7cef0d76c2c251dd679c3bc (patch)
treeddf180d8cc03ee307be4070598a26e56d29d4712 /src/gallium/drivers/nouveau/nvc0
parent200382be8576c43a668724c77b0f1b5a80b3adba (diff)
nv50,nvc0: set constbufs dirty on pipe context switch
Reviewed-by: Ilia Mirkin <[email protected]> Cc: "10.2" <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
index 40016fcadcc..dcec9108970 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
@@ -531,6 +531,7 @@ nvc0_switch_pipe_context(struct nvc0_context *ctx_to)
for (s = 0; s < 5; ++s) {
ctx_to->samplers_dirty[s] = ~0;
ctx_to->textures_dirty[s] = ~0;
+ ctx_to->constbuf_dirty[s] = (1 << NVC0_MAX_PIPE_CONSTBUFS) - 1;
}
if (!ctx_to->vertex)