#version 450 core #extension GL_EXT_float_e4m3 : require #extension GL_EXT_shader_explicit_arithmetic_types : enable layout(local_size_x = 1) in; void main() { floate4m3_t a; float b; // saturatedConvertEXT is declared with an empty prototype, so overload // resolution accepts any argument list. Anything other than exactly two // arguments must be rejected before the front end indexes the operands. saturatedConvertEXT(a); saturatedConvertEXT(a, b, b); saturatedConvertEXT(); }