dawn-cmake/test/tint/builtins/frexp/vector/const.wgsl.expected.glsl

20 lines
368 B
GLSL

#version 310 es
struct frexp_result_vec2_f32 {
vec2 fract;
ivec2 exp;
};
void tint_symbol() {
frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.625f, 0.9375f), ivec2(1, 2));
vec2 tint_symbol_2 = res.fract;
ivec2 tint_symbol_3 = res.exp;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
tint_symbol();
return;
}