intel/fs: add hint how to get more info when shader validation fails
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6559>
This commit is contained in:
committed by
Marge Bot
parent
ab07926057
commit
663c4d5377
@@ -2572,6 +2572,12 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width,
|
||||
}
|
||||
}
|
||||
ralloc_free(disasm_info);
|
||||
#ifndef NDEBUG
|
||||
if (!validated && !debug_flag) {
|
||||
fprintf(stderr,
|
||||
"Validation failed. Rerun with INTEL_DEBUG=shaders to get more information.\n");
|
||||
}
|
||||
#endif
|
||||
assert(validated);
|
||||
|
||||
compiler->shader_debug_log(log_data,
|
||||
|
||||
Reference in New Issue
Block a user