glsl_to_tgsi: declare all SSBOs and atomics when indirect indexing is used
authorMarek Olšák <marek.olsak@amd.com>
Tue, 16 May 2017 22:26:06 +0000 (00:26 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 18 May 2017 20:15:02 +0000 (22:15 +0200)
commit767868ff6d2842e1ac93ba086c1c30a8c8a68e24
tree717142e3a3e207e42f1e8b4f8ff74ed5d0153e0e
parent1468e29e0285e8878c6112f810fae5ab87c426e9
glsl_to_tgsi: declare all SSBOs and atomics when indirect indexing is used

Only the first array element was declared, so tgsi_shader_info::
shader_buffers_declared didn't match what the shader was using.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp