Mesa (master): intel/compiler: print dispatch width when shader fails to compile
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Sep 4 17:43:30 UTC 2020
Module: Mesa
Branch: master
Commit: 95ce619680d9d24c82451fa3098177fd63e32b5f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=95ce619680d9d24c82451fa3098177fd63e32b5f
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date: Thu Jul 2 13:37:10 2020 +0200
intel/compiler: print dispatch width when shader fails to compile
Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6602>
---
src/intel/compiler/brw_fs.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 93bb3053871..c1d3a6a4627 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -675,7 +675,8 @@ fs_visitor::vfail(const char *format, va_list va)
failed = true;
msg = ralloc_vasprintf(mem_ctx, format, va);
- msg = ralloc_asprintf(mem_ctx, "%s compile failed: %s\n", stage_abbrev, msg);
+ msg = ralloc_asprintf(mem_ctx, "SIMD%d %s compile failed: %s\n",
+ dispatch_width, stage_abbrev, msg);
this->fail_msg = msg;
More information about the mesa-commit
mailing list