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:
08328fe
)
Use correct type for var storing returned value (#2263)
author
Ryan Harrison
<rharrison@google.com>
Tue, 9 Jun 2020 16:01:43 +0000
(12:01 -0400)
committer
GitHub
<noreply@github.com>
Tue, 9 Jun 2020 16:01:43 +0000
(10:01 -0600)
glslang/MachineIndependent/reflection.cpp
patch
|
blob
|
history
diff --git
a/glslang/MachineIndependent/reflection.cpp
b/glslang/MachineIndependent/reflection.cpp
index
d394cf0
..
03d6fe1
100644
(file)
--- a/
glslang/MachineIndependent/reflection.cpp
+++ b/
glslang/MachineIndependent/reflection.cpp
@@
-643,7
+643,7
@@
public:
if (type.isArray()) {
TType derefType(type, 0);
for (int e = 0; e < type.getOuterArraySize(); ++e) {
-
uint32_
t memberBlockIndex = addBlockName(name + "[" + String(e) + "]", derefType, size);
+
in
t memberBlockIndex = addBlockName(name + "[" + String(e) + "]", derefType, size);
if (e == 0)
blockIndex = memberBlockIndex;
}