broadcom/compiler: Enable PER_QUAD for UBO and SSBO loads.
authorArcady Goldmints-Orlov <agoldmints@igalia.com>
Mon, 10 Aug 2020 03:17:01 +0000 (22:17 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 20 Aug 2020 20:14:14 +0000 (20:14 +0000)
commita104902590512f30c55e6a2e4f7b75627c056e27
treef2cb5f12a2242bc2bb01ffaa1ee8c8596672a568
parentc3258f927c462cc2e24106e7841138452f7fec10
broadcom/compiler: Enable PER_QUAD for UBO and SSBO loads.

Helper invocations need to be able to read from UBOs since those values
can be used for flow control, but writes from helper invocations need to
be dropped.

Fixes CTS tests:
  dEQP-VK.glsl.derivate.*.uniform_loop.*

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6356>
src/broadcom/compiler/nir_to_vir.c