nv50,nvc0: Set only NEW_CP_GLOBALS upon binding

Signed-off-by: Pierre Moreau <pierre.morrow@free.fr>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
Pierre Moreau 2016-03-13 22:11:30 +01:00 committed by Samuel Pitoiset
parent e73ac84b93
commit 8c7acd87af
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -1342,7 +1342,7 @@ nvc0_set_global_bindings(struct pipe_context *pipe,
nouveau_bufctx_reset(nvc0->bufctx_cp, NVC0_BIND_CP_GLOBAL);
nvc0->dirty_cp = NVC0_NEW_CP_GLOBALS;
nvc0->dirty_cp |= NVC0_NEW_CP_GLOBALS;
}
void