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>
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 6efa2c7..3accdf7 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -513,7 +513,7 @@
device->info.gen < 8 || !device->has_context_isolation;
device->compiler->supports_shader_constants = true;
device->compiler->compact_params = false;
- device->compiler->indirect_ubos_use_sampler = device->info.gen <= 7;
+ device->compiler->indirect_ubos_use_sampler = true;
/* Broadwell PRM says:
*