intel/compiler: print dispatch width when shader fails to compile
[mesa.git] / src / intel / compiler / brw_fs.cpp
index 93bb3053871de559186f84ea13af88c146f677be..c1d3a6a4627484390e17aac89d743d11cc1a45e7 100644 (file)
@@ -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;