anv: Go back to using the sampler for UBO pulls

This functionally reverts b54d37a867.

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

Fixes: b54d37a867 "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>
This commit is contained in:
Jason Ekstrand 2020-10-15 15:11:56 -05:00 committed by Marge Bot
parent d91cb31a2a
commit a5529eb235
1 changed files with 1 additions and 1 deletions

View File

@ -513,7 +513,7 @@ anv_physical_device_try_create(struct anv_instance *instance,
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:
*