From 95ce619680d9d24c82451fa3098177fd63e32b5f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcin=20=C5=9Alusarz?= Date: Thu, 2 Jul 2020 13:37:10 +0200 Subject: [PATCH] intel/compiler: print dispatch width when shader fails to compile MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Ślusarz Reviewed-by: Jason Ekstrand Part-of: --- 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; -- 2.30.2