Searched refs:M_PI_2f (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 38 #ifndef M_PI_2f 39 #define M_PI_2f ((float) M_PI_2) macro 181 M_PI_2f); in build_asin() 184 nir_a_minus_bc(b, nir_imm_floatN_t(b, M_PI_2f, x->bit_size), in build_asin() 590 nir_fsub(nb, nir_imm_floatN_t(nb, M_PI_2f, src[0]->bit_size), in handle_glsl450_alu()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | builtin_functions.cpp | 91 #ifndef M_PI_2f 92 #define M_PI_2f ((float) M_PI_2) macro 5849 sub(imm(M_PI_2f), in asin_expr() 5851 add(imm(M_PI_2f), in asin_expr() 5912 body.emit(ret(sub(imm(M_PI_2f), asin_expr(x, 0.08132463f, -0.02363318f)))); in _acos()
|