MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / referenceCheck

Method referenceCheck

glslang/MachineIndependent/ParseHelper.cpp:6424–6428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6422}
6423
6424void TParseContext::referenceCheck(const TSourceLoc& loc, const TType& type, const char* op)
6425{
6426 if (containsFieldWithBasicType(type, EbtReference))
6427 error(loc, "can't use with reference types", op, "");
6428}
6429
6430void TParseContext::storage16BitAssignmentCheck(const TSourceLoc& loc, const TType& type, const char* op)
6431{

Callers 1

yyparseFunction · 0.80

Calls 1

errorFunction · 0.85

Tested by

no test coverage detected