turnip: Add support for non-zero (still constant) UBO buffer indices.
authorEric Anholt <eric@anholt.net>
Wed, 22 Jan 2020 00:56:34 +0000 (16:56 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jan 2020 02:13:38 +0000 (02:13 +0000)
commit3abfde13be198449230e48c5f277e0b62a0e96c4
treef323ba36d1455bce25ed3cd016a28cdd9ddda866
parent5f791df0d004291cf10fb54efa3b784a2dfd3ee2
turnip: Add support for non-zero (still constant) UBO buffer indices.

This was actually all ready to go at this point, and just needed to
increment by the value.

Fixes dEQP-VK.binding_model.shader_access.primary_cmd_buf.uniform_buffer.*

Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3504>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3504>
src/freedreno/vulkan/tu_shader.c