mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
vk/util: fix buggy usage of unreachable()
Cc: mesa-stable
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22529>
(cherry picked from commit 5863bafbdc)
This commit is contained in:
parent
4e7d97e462
commit
17429980bd
2 changed files with 2 additions and 2 deletions
|
|
@ -2524,7 +2524,7 @@
|
|||
"description": "vk/util: fix buggy usage of unreachable()",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -461,7 +461,7 @@ vk_device_entrypoint_is_enabled(int index, uint32_t core_version,
|
|||
#ifdef _MSC_VER
|
||||
VKAPI_ATTR void VKAPI_CALL vk_entrypoint_stub(void)
|
||||
{
|
||||
unreachable(!"Entrypoint not implemented");
|
||||
unreachable("Entrypoint not implemented");
|
||||
}
|
||||
|
||||
static const void *get_function_target(const void *func)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue