blob: 79805d9a5755bdb90dc60bbf183bc466b4a9d7ce [file] [log] [blame]
#version 310 es
#extension GL_AMD_gpu_shader_half_float: require
struct S {
f16vec3 v;
};
S P = S(f16vec3(0.0hf));
void f() {
P.v = f16vec3(1.0hf, 2.0hf, 3.0hf);
P.v[0u] = 1.0hf;
P.v[1u] = 2.0hf;
P.v[2u] = 3.0hf;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
}