nvc0: force cache flush when binding a new ubo
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 21 Jul 2015 19:58:08 +0000 (21:58 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 21 Jul 2015 20:02:23 +0000 (22:02 +0200)
commit958b5c31116f46a81249d11033164354ec158556
tree498498a7a3eda2b87f9f49b05f341e13e53a34ac
parenta62ccdec622ea43a7cdbf572a32dfae19ba9c904
nvc0: 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/nvc0/nvc0_state_validate.c