Searched refs:M_PI_2f (Results 1 - 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/spirv/
H A Dvtn_glsl450.c32 #define M_PI_2f ((float) M_PI_2) macro
223 nir_fsub(b, nir_imm_float(b, M_PI_2f),
225 nir_fadd(b, nir_imm_float(b, M_PI_2f),
296 nir_imm_float(b, M_PI_2f))));
324 nir_fmul(b, nir_fsign(b, y), nir_imm_float(b, M_PI_2f));
610 val->ssa->def = nir_fsub(nb, nir_imm_float(nb, M_PI_2f),
/external/mesa3d/src/compiler/glsl/
H A Dbuiltin_functions.cpp66 #define M_PI_2f ((float) M_PI_2) macro
3357 sub(imm(M_PI_2f),
3359 add(imm(M_PI_2f),
3420 body.emit(ret(sub(imm(M_PI_2f), asin_expr(x, 0.08132463f, -0.02363318f))));
3459 assign(r, mul(sign(y), imm(M_PI_2f))));
3514 imm(M_PI_2f))))));

Completed in 292 milliseconds