anv: Go back to using the sampler for UBO pulls
This functionally revertsb54d37a867
. 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:
parent
d91cb31a2a
commit
a5529eb235
|
@ -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:
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue