nv50,nvc0: Copy shared memory per block to the program info structure and back
authorPierre Moreau <pierre.morrow@free.fr>
Mon, 2 Oct 2017 18:57:10 +0000 (20:57 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 4 Nov 2017 18:12:07 +0000 (14:12 -0400)
commitefe532b73934299bb6eeeecf0aaab7145317fd51
tree09c98957c67bfc06dfea885072c894b5bead5af5
parent49752e99f8f109a1b1adc6740c4e3e2a50d0e09b
nv50,nvc0: Copy shared memory per block to the program info structure and back

In OpenCL/CUDA kernels, shared memory usage can be defined within the
kernel code. Those usage will only be picked up while parsing the
SPIR-V, during the translation phase of the program.

Signed-off-by: Pierre Moreau <pierre.morrow@free.fr>
src/gallium/drivers/nouveau/nv50/nv50_program.c
src/gallium/drivers/nouveau/nvc0/nvc0_program.c