panvk: architecture isn't invalid, just unsupported
When we fail, tell users clearly why. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24201>
This commit is contained in:

committed by
Marge Bot

parent
32610bee4c
commit
deb17db38e
@@ -814,7 +814,7 @@ panvk_queue_init(struct panvk_device *device, struct panvk_queue *queue,
|
||||
queue->vk.driver_submit = panvk_v7_queue_submit;
|
||||
break;
|
||||
default:
|
||||
unreachable("Invalid arch");
|
||||
unreachable("Unsupported architecture");
|
||||
}
|
||||
|
||||
queue->sync = create.handle;
|
||||
|
@@ -1060,7 +1060,7 @@ VK_DEFINE_NONDISP_HANDLE_CASTS(panvk_sampler, base, VkSampler,
|
||||
panvk_arch_name(name, v7)(__VA_ARGS__); \
|
||||
break; \
|
||||
default: \
|
||||
unreachable("Invalid arch"); \
|
||||
unreachable("Unsupported architecture"); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
Reference in New Issue
Block a user