summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2018-07-12 01:18:23 +0200
committerKarol Herbst <[email protected]>2018-07-15 07:51:13 +0200
commit39180d39319427ddd327ab1ec18e0c6233eae9d6 (patch)
treefe89d09fd6bec92b93e63ae17256be64bcebf7eb
parentdaa78f30b6dbd95ca5838aa666000f8fd628c92c (diff)
nir/spirv: print id for unsupported builtins
Reviewed-by: Jason Ekstrand <[email protected]> Signed-off-by: Karol Herbst <[email protected]>
-rw-r--r--src/compiler/spirv/vtn_variables.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}