From cff06bbe7d78a48e3b9aa2ae36edd3408d24ca2c Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Thu, 9 Jul 2015 14:29:23 -0400 Subject: [PATCH] vk/compiler: create an empty parameters list Prevents problems when initializing the sanity_param_count. --- src/vulkan/compiler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vulkan/compiler.cpp b/src/vulkan/compiler.cpp index 216da89c697..cf34e7b4414 100644 --- a/src/vulkan/compiler.cpp +++ b/src/vulkan/compiler.cpp @@ -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; -- 2.30.2