yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Saddamvalidate saturatedConvertEXT argument count37cf206d

main
517 B19 linesraw
1#version 450 core
2
3#extension GL_EXT_float_e4m3 : require
4#extension GL_EXT_shader_explicit_arithmetic_types : enable
5
6layout(local_size_x = 1) in;
7
8void main()
9{
10    floate4m3_t a;
11    float b;
12
13    // saturatedConvertEXT is declared with an empty prototype, so overload
14    // resolution accepts any argument list. Anything other than exactly two
15    // arguments must be rejected before the front end indexes the operands.
16    saturatedConvertEXT(a);
17    saturatedConvertEXT(a, b, b);
18    saturatedConvertEXT();
19}