From: Marcin Ślusarz Date: Thu, 2 Jul 2020 11:37:10 +0000 (+0200) Subject: intel/compiler: print dispatch width when shader fails to compile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95ce619680d9d24c82451fa3098177fd63e32b5f;p=mesa.git intel/compiler: print dispatch width when shader fails to compile Signed-off-by: Marcin Ślusarz Reviewed-by: Jason Ekstrand Part-of: --- 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;