blob: ab27819d7022a1594dd534f883f1b983ae089af4 [file] [log] [blame]
#version 310 es
#extension GL_AMD_gpu_shader_half_float: require
struct S {
f16vec3 v;
};
layout(binding = 0, std430)
buffer U_block_1_ssbo {
S inner;
} v_1;
void f() {
v_1.inner.v = f16vec3(1.0hf, 2.0hf, 3.0hf);
v_1.inner.v.x = 1.0hf;
v_1.inner.v.y = 2.0hf;
v_1.inner.v.z = 3.0hf;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
}