anv: compute the largest GRL kernel scratch size

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Felix DeGrood <felix.j.degrood@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22179>
This commit is contained in:
Lionel Landwerlin
2023-03-30 13:22:53 +03:00
committed by Marge Bot
parent 97e64aef60
commit 546a6752ac
4 changed files with 23 additions and 0 deletions

View File

@@ -1000,6 +1000,9 @@ struct anv_physical_device {
uint8_t device_uuid[VK_UUID_SIZE];
uint8_t rt_uuid[VK_UUID_SIZE];
/* Maximum amount of scratch space used by all the GRL kernels */
uint32_t max_grl_scratch_size;
struct vk_sync_type sync_syncobj_type;
struct vk_sync_timeline_type sync_timeline_type;
const struct vk_sync_type * sync_types[4];