projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc667a3
)
layers: MR128, Fix mismatched new[]/delete in validate_pipeline_shaders
author
Chris Forbes
<chrisforbes@google.com>
Thu, 17 Dec 2015 04:10:19 +0000
(17:10 +1300)
committer
Mark Lobodzinski
<mark@lunarg.com>
Tue, 12 Jan 2016 21:26:12 +0000
(14:26 -0700)
In draw_state layer.
layers/draw_state.cpp
patch
|
blob
|
history
diff --git
a/layers/draw_state.cpp
b/layers/draw_state.cpp
index 211b3d5ea0463504bdbc971d6c4b738d82c3d079..48fd4ccf32ecaedcb17ba008028f871791686074 100644
(file)
--- a/
layers/draw_state.cpp
+++ b/
layers/draw_state.cpp
@@
-1327,7
+1327,7
@@
validate_pipeline_shaders(layer_data *my_data, VkDevice dev, PIPELINE_NODE* pPip
pass = validate_fs_outputs_against_render_pass(my_data, dev, shaders[fragment_stage], rp, pCreateInfo->subpass) && pass;
}
- delete shaders;
+ delete
[]
shaders;
return pass;
}