Module: Mesa
Branch: master
Commit: 39180d39319427ddd327ab1ec18e0c6233eae9d6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=39180d39319427ddd327ab1ec18e0c6233eae9d6

Author: Karol Herbst <[email protected]>
Date:   Thu Jul 12 01:18:23 2018 +0200

nir/spirv: print id for unsupported builtins

Reviewed-by: Jason Ekstrand <[email protected]>
Signed-off-by: Karol Herbst <[email protected]>

---

 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);
    }
 }
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to