Add BUILD.gn configuration.
This CL adds the necessary configuration to build glslang inside a Chromium checkout. Two build warnings were fixed in the process to make things compile.
This commit is contained in:
parent
a8453d4bc0
commit
257b25c81f
5 changed files with 198 additions and 2 deletions
|
|
@ -172,7 +172,7 @@ public:
|
|||
bool isImageType(Id typeId) const { return getTypeClass(typeId) == OpTypeImage; }
|
||||
bool isSamplerType(Id typeId) const { return getTypeClass(typeId) == OpTypeSampler; }
|
||||
bool isSampledImageType(Id typeId) const { return getTypeClass(typeId) == OpTypeSampledImage; }
|
||||
bool containsType(Id typeId, Op typeOp, int width) const;
|
||||
bool containsType(Id typeId, Op typeOp, uint32_t width) const;
|
||||
|
||||
bool isConstantOpCode(Op opcode) const;
|
||||
bool isSpecConstantOpCode(Op opcode) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue