Searched refs:M_PI_2f (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 36 #define M_PI_2f ((float) M_PI_2) macro 212 M_PI_2f); in build_asin() 215 nir_fsub(b, nir_imm_floatN_t(b, M_PI_2f, x->bit_size), in build_asin() 519 nir_fsub(nb, nir_imm_floatN_t(nb, M_PI_2f, src[0]->bit_size), in handle_glsl450_alu()
|
/external/mesa3d/src/compiler/glsl/ |
D | builtin_functions.cpp | 88 #define M_PI_2f ((float) M_PI_2) macro 5051 sub(imm(M_PI_2f), in asin_expr() 5053 add(imm(M_PI_2f), in asin_expr() 5114 body.emit(ret(sub(imm(M_PI_2f), asin_expr(x, 0.08132463f, -0.02363318f)))); in _acos() 5191 body.emit(assign(arc, add(arc, mul(b2f(flip), imm(M_PI_2f))))); in _atan2() 5252 imm(M_PI_2f)))))); in do_atan()
|