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

Method explicitInt8Check

glslang/MachineIndependent/Versions.cpp:1402–1409  ·  view source on GitHub ↗

Call for any operation needing GLSL explicit int8 data-type support.

Source from the content-addressed store, hash-verified

1400
1401// Call for any operation needing GLSL explicit int8 data-type support.
1402void TParseVersions::explicitInt8Check(const TSourceLoc& loc, const char* op, bool builtIn)
1403{
1404 if (! builtIn) {
1405 const char* const extensions[2] = {E_GL_EXT_shader_explicit_arithmetic_types,
1406 E_GL_EXT_shader_explicit_arithmetic_types_int8};
1407 requireExtensions(loc, 2, extensions, op);
1408 }
1409}
1410
1411// Call for any operation needing GLSL float16 opaque-type support
1412void TParseVersions::float16OpaqueCheck(const TSourceLoc& loc, const char* op, bool builtIn)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected