blob: 53d8478901d8f19e1f2edca9da55a89ff1d7dd0e [file] [log] [blame]
#version 310 es
#extension GL_AMD_gpu_shader_half_float: require
float16_t tint_float_modulo(float16_t x, float16_t y) {
return (x - (y * trunc((x / y))));
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
float16_t a = 1.0hf;
float16_t b = 2.0hf;
float16_t r = tint_float_modulo(a, b);
}