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

Method arrayObjectCheck

glslang/MachineIndependent/ParseHelper.cpp:6409–6416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6407}
6408
6409void TParseContext::arrayObjectCheck(const TSourceLoc& loc, const TType& type, const char* op)
6410{
6411 // Some versions don't allow comparing arrays or structures containing arrays
6412 if (type.containsArray()) {
6413 profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, op);
6414 profileRequires(loc, EEsProfile, 300, nullptr, op);
6415 }
6416}
6417
6418void TParseContext::opaqueCheck(const TSourceLoc& loc, const TType& type, const char* op)
6419{

Callers 1

yyparseFunction · 0.80

Calls 1

containsArrayMethod · 0.80

Tested by

no test coverage detected