projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3318a86
)
vk/compiler: create an empty parameters list
author
Connor Abbott
<connor.w.abbott@intel.com>
Thu, 9 Jul 2015 18:29:23 +0000
(14:29 -0400)
committer
Connor Abbott
<connor.w.abbott@intel.com>
Thu, 9 Jul 2015 18:29:23 +0000
(14:29 -0400)
Prevents problems when initializing the sanity_param_count.
src/vulkan/compiler.cpp
patch
|
blob
|
history
diff --git
a/src/vulkan/compiler.cpp
b/src/vulkan/compiler.cpp
index 216da89c69711a1d6c5cf3a6bbb6a96c97bda366..cf34e7b4414cddfbcde542f245fe03830846936d 100644
(file)
--- 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;