1#version 450
2#extension GL_EXT_shader_explicit_arithmetic_types_float16 : require
3
4// Produce an OpSpecConstantOp with 8 bit integer type
5
6layout(constant_id = 0) const float c = 8;
7
8layout(binding=0) writeonly restrict buffer S {
9    float16_t p_out[];
10};
11
12void main()
13{
14    p_out[0] = float16_t(c);
15}
16
17
18
19