radeonsi: remove const_buffers_declared hacks
authorMarek Olšák <marek.olsak@amd.com>
Thu, 21 May 2020 08:18:19 +0000 (04:18 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Jun 2020 20:47:49 +0000 (20:47 +0000)
commit877c56bfdcb97e47453b86f23a13033438f0daa1
tree7677f6ac44497d56c249f0d0703999b394d8cc75
parentce4575b3b5950041589cd2b96a8334146d8cec32
radeonsi: remove const_buffers_declared hacks

This was a bug that was uncovered by 4553fc66a5f23607c2e872d8ac8755c747bd0bd2.

Piglit: spec@arb_uniform_buffer_object@maxblocks

Fixes: 4553fc66a5f23607c2e872d8ac8755c747bd0bd2
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5209>
src/gallium/drivers/radeonsi/si_shader_nir.c