pan/midgard: Implement nir_intrinsic_get_buffer_size
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 4 Feb 2020 14:46:17 +0000 (09:46 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 13:56:59 +0000 (13:56 +0000)
commitfcbb3d422e40ab0759c550fb044605364c518e51
tree29d0ba8b3134bf6d8ed406b0214104aeff75315a
parent3148937ef7c7be7a0685de333de6a5ed31ce3857
pan/midgard: Implement nir_intrinsic_get_buffer_size

We route it as a sysval. Fixes dEQP-GLES31.functional.compute.basic.ssbo_unsized_arr_single_invocation

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3775>
src/panfrost/midgard/compiler.h
src/panfrost/midgard/midgard_compile.c