mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-18 17:18:30 +02:00
i965: print error messages if gs fails to compile
We do this for all other stages. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
b463b1d7cc
commit
4f89cf4941
1 changed files with 6 additions and 0 deletions
|
|
@ -163,6 +163,12 @@ brw_codegen_gs_prog(struct brw_context *brw,
|
|||
&prog_data, gs->Program->nir, prog,
|
||||
st_index, &program_size, &error_str);
|
||||
if (program == NULL) {
|
||||
if (prog) {
|
||||
ralloc_strcat(&prog->InfoLog, error_str);
|
||||
}
|
||||
|
||||
_mesa_problem(NULL, "Failed to compile geometry shader: %s\n", error_str);
|
||||
|
||||
ralloc_free(mem_ctx);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue