nv50: force cache flush when binding a new ubo
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 21 Jul 2015 19:35:43 +0000 (21:35 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 21 Jul 2015 19:39:36 +0000 (21:39 +0200)
commita62ccdec622ea43a7cdbf572a32dfae19ba9c904
tree97e42efa2923e70ecb12c50e8d67f413dfd209ee
parent912921059d137085faef676504bea265328bdde4
nv50: force cache flush when binding a new ubo

This fixes the following piglit test:
  ext_transform_feedback-immediate-reuse-uniform-buffer

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_shader_state.c