panvk: Properly set shader binary properties
We do not support VK_EXT_shader_object so far but vk_shader layer depends on those values so we should fill them. Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37452>
This commit is contained in:
committed by
Marge Bot
parent
e4fea2bc46
commit
27f9e706f8
@@ -989,6 +989,12 @@ panvk_per_arch(get_physical_device_properties)(
|
||||
.robustStorageBufferAccessSizeAlignment = 1,
|
||||
.robustUniformBufferAccessSizeAlignment = 1,
|
||||
|
||||
/* VK_EXT_shader_object */
|
||||
/* We do not currently support VK_EXT_shader_object but this is used
|
||||
* internally by vk_shader
|
||||
*/
|
||||
.shaderBinaryVersion = 0,
|
||||
|
||||
/* VK_KHR_maintenance7 */
|
||||
/* We don't implement VK_KHR_fragment_shading_rate */
|
||||
.robustFragmentShadingRateAttachmentAccess = false,
|
||||
@@ -1038,6 +1044,7 @@ panvk_per_arch(get_physical_device_properties)(
|
||||
device->name);
|
||||
|
||||
memcpy(properties->pipelineCacheUUID, device->cache_uuid, VK_UUID_SIZE);
|
||||
memcpy(properties->shaderBinaryUUID, device->cache_uuid, VK_UUID_SIZE);
|
||||
|
||||
const struct {
|
||||
uint16_t vendor_id;
|
||||
|
||||
Reference in New Issue
Block a user