nvc0: bind shader buffers for compute on Fermi
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 6 Jan 2016 17:46:00 +0000 (18:46 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 21 Feb 2016 09:41:37 +0000 (10:41 +0100)
commit917a5ff6eac8e000e1ac7041929ae376bd476496
treee4da5df82f333801d812a83ccafe3709f4cf4cc2
parenta9b70a86db9fe948ca7ce40aad4831408b1377ef
nvc0: bind shader buffers for compute on Fermi

This is loosely based on 3D. Shader buffers are bound on c15 (the
driver constbuf) at offset 0x200.

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_context.c
src/gallium/drivers/nouveau/nvc0/nvc0_context.h
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
src/gallium/drivers/nouveau/nvc0/nvc0_state.c