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:
41f8f56
)
demos: fix uninitialized variable
author
Jeremy Hayes
<jeremy@lunarg.com>
Sun, 9 Oct 2016 19:48:31 +0000
(13:48 -0600)
committer
Jeremy Hayes
<jeremy@lunarg.com>
Sun, 9 Oct 2016 20:33:49 +0000
(14:33 -0600)
Change-Id: If980d3a8d765185148cff0b037cb64e637ae8a75
demos/cube.cpp
patch
|
blob
|
history
diff --git
a/demos/cube.cpp
b/demos/cube.cpp
index
2937950
..
2be97bb
100644
(file)
--- a/
demos/cube.cpp
+++ b/
demos/cube.cpp
@@
-1658,7
+1658,7
@@
struct Demo {
}
vk::ShaderModule prepare_fs() {
- size_t size;
+ size_t size
= 0
;
void *fragShaderCode = read_spv("cube-frag.spv", &size);
frag_shader_module = prepare_shader_module(fragShaderCode, size);