mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-12 21:20:06 +00:00
Add comment that was missed in previous commit.
This commit is contained in:
parent
716312771c
commit
f685df8c16
@ -500,6 +500,9 @@ Id Builder::findScalarConstant(Op typeClass, Id typeId, unsigned v1, unsigned v2
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Return true if consuming 'opcode' means consuming a constant.
|
||||
// "constant" here means after final transform to executable code,
|
||||
// the value consumed will be a constant, so includes specialization.
|
||||
bool Builder::isConstantOpCode(Op opcode) const
|
||||
{
|
||||
switch (opcode) {
|
||||
|
Loading…
Reference in New Issue
Block a user