tu: Rewrite variable lowering
authorConnor Abbott <cwabbott0@gmail.com>
Mon, 29 Jun 2020 17:18:20 +0000 (19:18 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Jul 2020 22:48:57 +0000 (22:48 +0000)
commit9aec89ead3425db737d8c1b86d306da451db2b2e
tree98cb53d042de834b4ab2f0ba4ee3c712c0dfef39
parentedc8119da4eafb45ae90b70ba33b2c1f5b85c4c1
tu: Rewrite variable lowering

Don't lower to offsets, instead use nir_lower_explicit_io here and
use actual pointers for UBO's and SSBO's. This makes
KHR_variable_pointers trivial. This also fixes asserts with shared
variables, which are now supposed to be lowered with
nir_lower_explicit_io.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5684>
.gitlab-ci/deqp-freedreno-a630-fails.txt
src/freedreno/vulkan/tu_shader.c