Call for any operation needing GLSL float16 data-type support.
| 1245 | |
| 1246 | // Call for any operation needing GLSL float16 data-type support. |
| 1247 | void 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 | |
| 1258 | bool TParseVersions::float16Arithmetic() |
| 1259 | { |
no outgoing calls
no test coverage detected