From: Karol Herbst Date: Wed, 11 Jul 2018 23:18:23 +0000 (+0200) Subject: nir/spirv: print id for unsupported builtins X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39180d39319427ddd327ab1ec18e0c6233eae9d6;p=mesa.git nir/spirv: print id for unsupported builtins Reviewed-by: Jason Ekstrand Signed-off-by: Karol Herbst --- diff --git a/src/compiler/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c index c86416495b6..67b4d59b9fe 100644 --- a/src/compiler/spirv/vtn_variables.c +++ b/src/compiler/spirv/vtn_variables.c @@ -1213,7 +1213,7 @@ vtn_get_builtin_location(struct vtn_builder *b, set_mode_system_value(b, mode); break; default: - vtn_fail("unsupported builtin"); + vtn_fail("unsupported builtin: %u", builtin); } }