radeonsi: mark descriptor loads as using dynamically uniform indices
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 2 May 2016 21:22:03 +0000 (16:22 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 5 May 2016 17:21:40 +0000 (12:21 -0500)
commitd97e333ea435906a1b0a50972cb942c68dd734a2
tree8c9199f4399fbb1093fc2b11efe47da55751b405
parentf01d92f4734a7ca62926dceda1d004c0cb10548c
radeonsi: mark descriptor loads as using dynamically uniform indices

This tells LLVM to always use SMEM loads for descriptors. It fixes a
regression in piglit's arb_shader_storage_buffer_object/execution/indirect.shader_test
that was caused by LLVM r268259 (but the proper fix is really here in Mesa).

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c