mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 09:20:49 +02:00
mesa: properly signal report_compile_error to drivers
This was already done in the fp paths, but was missed here. With this in place drivers can report compile failures also from other shader stages besides fragment shaders. Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33545>
This commit is contained in:
parent
6b20b06584
commit
9b06b5db70
1 changed files with 1 additions and 0 deletions
|
|
@ -781,6 +781,7 @@ st_create_common_variant(struct st_context *st,
|
|||
bool finalize = false;
|
||||
|
||||
state.type = PIPE_SHADER_IR_NIR;
|
||||
state.report_compile_error = report_compile_error;
|
||||
state.ir.nir = get_nir_shader(st, prog, key->is_draw_shader);
|
||||
const nir_shader_compiler_options *options = ((nir_shader *)state.ir.nir)->options;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue