projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
544c039
)
Add missing initialisation of counterIndex and stages in badReflection()
author
baldurk
<baldurk@baldurk.org>
Tue, 29 Jan 2019 12:49:14 +0000
(12:49 +0000)
committer
baldurk
<baldurk@baldurk.org>
Tue, 29 Jan 2019 14:10:04 +0000
(14:10 +0000)
glslang/MachineIndependent/reflection.h
patch
|
blob
|
history
diff --git
a/glslang/MachineIndependent/reflection.h
b/glslang/MachineIndependent/reflection.h
index
49282c3
..
d68f8b3
100644
(file)
--- a/
glslang/MachineIndependent/reflection.h
+++ b/
glslang/MachineIndependent/reflection.h
@@
-87,7
+87,8
@@
public:
EShLanguageMask stages;
protected:
- TObjectReflection() : offset(-1), glDefineType(-1), size(-1), index(-1), type(nullptr) { }
+ TObjectReflection() :
+ offset(-1), glDefineType(-1), size(-1), index(-1), counterIndex(-1), stages(EShLanguageMask(0)), type(nullptr) { }
const TType* type;
};