radeonsi: add si_get_shader_buffers/get_pipe_constant_buffers (v2)
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 14 Sep 2016 07:45:37 +0000 (09:45 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 29 Sep 2016 09:14:33 +0000 (11:14 +0200)
commit70f9ca24683f84c04990266c3be3b70947ac6e78
treee056e4217c173715c45deea98457d75f903f621d
parent8d45243e400d6d426a1aae735f8ccad608484584
radeonsi: add si_get_shader_buffers/get_pipe_constant_buffers (v2)

These functions extract the pipe state structure from the current
descriptors, for state saving.

v2: correctly dereference *buf (Bas)

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_state.h