From: Eric Engestrom Date: Mon, 17 Apr 2023 12:01:41 +0000 (+0100) Subject: vk/util: fix buggy usage of unreachable() X-Git-Tag: upstream/23.3.3~9867 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5863bafbdc9b0b5118bd8b2e5bbbe47d5d3ab21a;p=platform%2Fupstream%2Fmesa.git vk/util: fix buggy usage of unreachable() Cc: mesa-stable Signed-off-by: Eric Engestrom Reviewed-by: Marek Olšák Part-of: --- diff --git a/src/vulkan/util/vk_dispatch_table_gen.py b/src/vulkan/util/vk_dispatch_table_gen.py index 80488a3..dc5dd76 100644 --- a/src/vulkan/util/vk_dispatch_table_gen.py +++ b/src/vulkan/util/vk_dispatch_table_gen.py @@ -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)