Mesa (master): nir/spirv: print id for unsupported builtins
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Jul 15 17:28:58 UTC 2018
Module: Mesa
Branch: master
Commit: 39180d39319427ddd327ab1ec18e0c6233eae9d6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39180d39319427ddd327ab1ec18e0c6233eae9d6
Author: Karol Herbst <kherbst at redhat.com>
Date: Thu Jul 12 01:18:23 2018 +0200
nir/spirv: print id for unsupported builtins
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Signed-off-by: Karol Herbst <kherbst at redhat.com>
---
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 c86416495b..67b4d59b9f 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);
}
}
More information about the mesa-commit
mailing list