blob: 5dfa4978e4fd0ef13febff4be9e939f4163165d8 [file] [log] [blame]
#version 310 es
#extension GL_AMD_gpu_shader_half_float: require
f16vec4 tint_bitcast_to_f16(vec2 src) {
uvec2 v = floatBitsToUint(src);
f16vec2 v_1 = unpackFloat2x16(v.x);
return f16vec4(v_1, unpackFloat2x16(v.y));
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
vec2 a = vec2(2.003662109375f, -513.03125f);
f16vec4 b = tint_bitcast_to_f16(a);
}