mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 09:10:11 +01:00
vk/compiler: create an empty parameters list
Prevents problems when initializing the sanity_param_count.
This commit is contained in:
parent
3318a86d12
commit
cff06bbe7d
1 changed files with 3 additions and 0 deletions
|
|
@ -996,6 +996,9 @@ anv_compile_shader_spirv(struct anv_compiler *compiler,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mesa_shader->Program->Parameters =
|
||||||
|
rzalloc(mesa_shader, struct gl_program_parameter_list);
|
||||||
|
|
||||||
mesa_shader->Type = stage_info[stage].token;
|
mesa_shader->Type = stage_info[stage].token;
|
||||||
mesa_shader->Stage = stage_info[stage].stage;
|
mesa_shader->Stage = stage_info[stage].stage;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue