nvc0: bind images on compute shaders for Kepler
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 7 Apr 2016 22:56:54 +0000 (00:56 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Apr 2016 17:47:49 +0000 (19:47 +0200)
commit1eca4c51a2c3fcaf4e39e5bad8eefcea547530fa
treeaa5e407fbcee9fad7765ac2236148b1291ee62c9
parentc6b3c346d15b834d17c97aa4a45714c18f219351
nvc0: bind images on compute shaders for Kepler

Old surfaces validation code will be removed once images are completely
done for Fermi/Kepler, that explains why I only disable it for now.

This also introduces nvc0_get_surface_dims() which computes correct
dimensions regarding the given target.

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