mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
anv: tune parameters of the ASTC software decoding
Signed-off-by: Prakhar Vishwakarma <prakhar.vishwakarma@intel.com> Signed-off-by: Jaishankar Rajendran <jaishankar.rajendran@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41205>
This commit is contained in:
parent
cd941d3970
commit
12f43d048e
1 changed files with 7 additions and 1 deletions
|
|
@ -496,7 +496,13 @@ anv_device_init_astc_emu(struct anv_device *device)
|
|||
result = vk_texcompress_astc_init(
|
||||
&device->vk, &device->vk.alloc, VK_NULL_HANDLE,
|
||||
&astc_emu->texcompress,
|
||||
vk_texcompress_astc_default_params(&device->vk));
|
||||
(struct vk_texcompress_astc_params) {
|
||||
.luts_alignment = 64,
|
||||
.luts_memory_flags = (VK_MEMORY_PROPERTY_HOST_COHERENT_BIT |
|
||||
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT |
|
||||
(device->physical->has_small_bar ? 0 :
|
||||
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)),
|
||||
});
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue