r600g: Invalidate texture cache when creating vertex buffers for compute v2
authorTom Stellard <thomas.stellard@amd.com>
Wed, 1 Aug 2012 20:42:53 +0000 (20:42 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 19 Sep 2012 18:58:53 +0000 (14:58 -0400)
commit69b387fbdc42883fb2e9c27942f97e62ca06be4d
tree0424b2efde3478445351365df9cd7051501d3bb6
parent810345492eca34c2ad12728b5491a4691cc62ec2
r600g: Invalidate texture cache when creating vertex buffers for compute v2

Compute shaders fetch data from vertex buffers via the texture cache, so
we need to make sure the texture cache is flushed.

v2:
  - Fix rebase mistake
  - Fix spelling in comment

Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/gallium/drivers/r600/evergreen_compute.c