anv: Go back to using the sampler for UBO pulls
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 15 Oct 2020 20:11:56 +0000 (15:11 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 15 Oct 2020 20:53:05 +0000 (20:53 +0000)
commita5529eb235bcff2c677fb6a32ae633d3b4d6700d
treef9bcb8b723f695ebbca4d237d41dff5f732deb4f
parentd91cb31a2aad30c80c88dedc7b75853470266979
anv: Go back to using the sampler for UBO pulls

This functionally reverts b54d37a8676acbd725ef1817479f2630d3ea95be.

This fixes a 12% performance regression in DOOM (2016) on Tigerlake.

Fixes: b54d37a8676a "anv: Use the data cache for indirect UBO..."
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7173>
src/intel/vulkan/anv_device.c