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

Method float16Check

glslang/MachineIndependent/Versions.cpp:1247–1256  ·  view source on GitHub ↗

Call for any operation needing GLSL float16 data-type support.

Source from the content-addressed store, hash-verified

1245
1246// Call for any operation needing GLSL float16 data-type support.
1247void TParseVersions::float16Check(const TSourceLoc& loc, const char* op, bool builtIn)
1248{
1249 if (!builtIn) {
1250 const char* const extensions[] = {
1251 E_GL_AMD_gpu_shader_half_float,
1252 E_GL_EXT_shader_explicit_arithmetic_types,
1253 E_GL_EXT_shader_explicit_arithmetic_types_float16};
1254 requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
1255 }
1256}
1257
1258bool TParseVersions::float16Arithmetic()
1259{

Callers 2

yyparseFunction · 0.80
lFloatConstMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected