v3dv: stop incrementing UBO indices by one
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 27 Jul 2023 04:53:44 +0000 (06:53 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 3 Aug 2023 06:32:40 +0000 (06:32 +0000)
commite941732ab19d775b1654a3881961e68c61300293
tree7d4000c42aabf976ebfa96a36abb537417f6bfa9
parentc733c166d7c572e6ad2917452dc32bea442fa4ce
v3dv: stop incrementing UBO indices by one

This matches what we do for OpenGL, allowing us to
have the same compiler behavior for both worlds.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24396>
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/vir.c
src/broadcom/vulkan/v3dv_pipeline.c
src/broadcom/vulkan/v3dv_uniforms.c