diff options
author | Karol Herbst <[email protected]> | 2018-07-12 01:18:23 +0200 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2018-07-15 07:51:13 +0200 |
commit | 39180d39319427ddd327ab1ec18e0c6233eae9d6 (patch) | |
tree | fe89d09fd6bec92b93e63ae17256be64bcebf7eb /src/compiler/spirv | |
parent | daa78f30b6dbd95ca5838aa666000f8fd628c92c (diff) |
nir/spirv: print id for unsupported builtins
Reviewed-by: Jason Ekstrand <[email protected]>
Signed-off-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
-rw-r--r-- | src/compiler/spirv/vtn_variables.c | 2 |
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); } } |