summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nv50
diff options
context:
space:
mode:
authorPierre Moreau <[email protected]>2016-03-13 22:11:30 +0100
committerSamuel Pitoiset <[email protected]>2016-03-13 22:34:50 +0100
commit8c7acd87afbe834f3fd7f088606e099cc827c538 (patch)
tree1847a88f13fcc13b4568fe0812bece36a98ac3d2 /src/gallium/drivers/nouveau/nv50
parente73ac84b939d6aec5e9cd602898b798d528f653f (diff)
nv50,nvc0: Set only NEW_CP_GLOBALS upon binding
Signed-off-by: Pierre Moreau <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50')
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_state.c b/src/gallium/drivers/nouveau/nv50/nv50_state.c
index 6a09808807a..8504ba466cc 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_state.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_state.c
@@ -1245,7 +1245,7 @@ nv50_set_global_bindings(struct pipe_context *pipe,
nouveau_bufctx_reset(nv50->bufctx_cp, NV50_BIND_CP_GLOBAL);
- nv50->dirty_cp = NV50_NEW_CP_GLOBALS;
+ nv50->dirty_cp |= NV50_NEW_CP_GLOBALS;
}
void