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:
Eric Engestrom 2023-04-17 13:01:41 +01:00 committed by Dylan Baker
parent 4e7d97e462
commit 17429980bd
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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)