projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1580018
)
radv: clear dynamic_shader_stages on create
author
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 27 Aug 2017 23:01:21 +0000
(
02:01
+0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Mon, 28 Aug 2017 22:11:02 +0000
(
01:11
+0300)
Valgrind reports it's being used uninitialized.
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_descriptor_set.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_descriptor_set.c
b/src/amd/vulkan/radv_descriptor_set.c
index 7cee9d4dedd3cff3a5ed8a6e0f38eed159d04c36..314ab5a96d04bdde12747e7c5d74d22713446095 100644
(file)
--- a/
src/amd/vulkan/radv_descriptor_set.c
+++ b/
src/amd/vulkan/radv_descriptor_set.c
@@
-66,6
+66,7
@@
VkResult radv_CreateDescriptorSetLayout(
set_layout->binding_count = max_binding + 1;
set_layout->shader_stages = 0;
+ set_layout->dynamic_shader_stages = 0;
set_layout->size = 0;
memset(set_layout->binding, 0, size - sizeof(struct radv_descriptor_set_layout));