nvc0: invalidate textures/samplers between 3D and CP on Fermi
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 26 May 2016 21:01:37 +0000 (23:01 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 26 May 2016 21:51:22 +0000 (23:51 +0200)
commite01a48218205adc280d3da00720dfb3d1ca5bde5
tree04c5d00af07464601f1b91462082d4a8cce84c84
parent9f0bc0f2b311f719090701a345428bd42bf79488
nvc0: invalidate textures/samplers between 3D and CP on Fermi

Like constant buffers, samplers and textures are aliased on Fermi and
we need to invalidate the state when switching from 3D to CP and vice
versa.

This fixes rendering issues in the UE4 demos.

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