nvc0: add state management for shader buffers
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 3 Jan 2016 03:26:46 +0000 (22:26 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 30 Jan 2016 02:06:07 +0000 (21:06 -0500)
commitfe01be4ad51b5b3cbc53ec6e0737819c2986bd07
tree8798727517dda8657227353dc49092dec4a8c061
parentb4688c4615afd30f0fe2d76043b6fe6d4b61a188
nvc0: add state management for shader buffers

(address, length) pairs are uploaded to the driver constbuf as well to
make these values available to the shaders.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_context.c
src/gallium/drivers/nouveau/nvc0/nvc0_context.h
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_state.c
src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c