nvc0: mark buffer texture range valid for shader images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 2 Jun 2016 22:00:27 +0000 (00:00 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 2 Jun 2016 22:12:23 +0000 (00:12 +0200)
commit28590eb9492f2e06c95483df7bd7f67b0fee7b8e
tree3944a40bcc907f413dc52abf9afd824ed80f1be8
parent278c2212ac137c19438a84072c8d3150b5a5b4f6
nvc0: mark buffer texture range valid for shader images

Loosely based on radeonsi (Thanks to Nicolai).

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