From 39180d39319427ddd327ab1ec18e0c6233eae9d6 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 12 Jul 2018 01:18:23 +0200 Subject: [PATCH] nir/spirv: print id for unsupported builtins Reviewed-by: Jason Ekstrand Signed-off-by: Karol Herbst --- src/compiler/spirv/vtn_variables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.30.2