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:
377f0ca
)
Make Instruction::getBlock() const.
author
Dejan Mircevski
<deki@google.com>
Tue, 19 Jan 2016 16:31:55 +0000
(11:31 -0500)
committer
Dejan Mircevski
<deki@google.com>
Tue, 19 Jan 2016 16:31:55 +0000
(11:31 -0500)
SPIRV/spvIR.h
patch
|
blob
|
history
diff --git
a/SPIRV/spvIR.h
b/SPIRV/spvIR.h
index
91e42aa
..
688068d
100755
(executable)
--- a/
SPIRV/spvIR.h
+++ b/
SPIRV/spvIR.h
@@
-110,7
+110,7
@@
public:
}
}
void setBlock(Block* b) { block = b; }
- Block* getBlock() { return block; }
+ Block* getBlock()
const
{ return block; }
Op getOpCode() const { return opCode; }
int getNumOperands() const { return (int)operands.size(); }
Id getResultId() const { return resultId; }