vk/compiler: create an empty parameters list

Prevents problems when initializing the sanity_param_count.
This commit is contained in:
Connor Abbott
2015-07-09 14:29:23 -04:00
parent 3318a86d12
commit cff06bbe7d

View File

@@ -996,6 +996,9 @@ anv_compile_shader_spirv(struct anv_compiler *compiler,
break;
}
mesa_shader->Program->Parameters =
rzalloc(mesa_shader, struct gl_program_parameter_list);
mesa_shader->Type = stage_info[stage].token;
mesa_shader->Stage = stage_info[stage].stage;