diff options
author | Connor Abbott <connor.w.abbott@intel.com> | 2015-07-09 14:29:23 -0400 |
---|---|---|
committer | Connor Abbott <connor.w.abbott@intel.com> | 2015-07-09 14:29:23 -0400 |
commit | cff06bbe7d78a48e3b9aa2ae36edd3408d24ca2c (patch) | |
tree | ef33471883707e83518b788691426622e3c9bdd8 /src | |
parent | 3318a86d12cfd2d436bf5418b73d363018678d84 (diff) |
vk/compiler: create an empty parameters list
Prevents problems when initializing the sanity_param_count.
Diffstat (limited to 'src')
-rw-r--r-- | src/vulkan/compiler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |