Lines Matching refs:nir_fmul

39    nir_ssa_def *p = nir_fmul(b, col[0], nir_swizzle(b, col[1], swiz, 2, true));  in build_mat2_det()
50 nir_fmul(b, col[0], in build_mat3_det()
51 nir_fmul(b, nir_swizzle(b, col[1], yzx, 3, true), in build_mat3_det()
54 nir_fmul(b, col[0], in build_mat3_det()
55 nir_fmul(b, nir_swizzle(b, col[1], zxy, 3, true), in build_mat3_det()
82 nir_ssa_def *prod = nir_fmul(b, col[0], nir_vec(b, subdet, 4)); in build_mat4_det()
165 val->elems[i]->def = nir_fmul(&b->nb, adj_col[i], det_inv); in matrix_inverse()
174 case 1: return nir_fsqrt(b, nir_fmul(b, vec, vec)); in build_length()
196 return nir_fexp2(b, nir_fmul(b, x, nir_imm_float(b, M_LOG2E))); in build_exp()
205 return nir_fmul(b, nir_flog2(b, x), nir_imm_float(b, 1.0 / M_LOG2E)); in build_log()
222 return nir_fmul(b, nir_fsign(b, x), in build_asin()
224 nir_fmul(b, nir_fsqrt(b, nir_fsub(b, nir_imm_float(b, 1.0f), abs_x)), in build_asin()
226 nir_fmul(b, abs_x, in build_asin()
228 nir_fmul(b, abs_x, in build_asin()
230 nir_fmul(b, abs_x, in build_asin()
271 nir_ssa_def *x_2 = nir_fmul(b, x, x); in build_atan()
272 nir_ssa_def *x_3 = nir_fmul(b, x_2, x); in build_atan()
273 nir_ssa_def *x_5 = nir_fmul(b, x_3, x_2); in build_atan()
274 nir_ssa_def *x_7 = nir_fmul(b, x_5, x_2); in build_atan()
275 nir_ssa_def *x_9 = nir_fmul(b, x_7, x_2); in build_atan()
276 nir_ssa_def *x_11 = nir_fmul(b, x_9, x_2); in build_atan()
279 nir_fmul(b, x, nir_imm_float(b, 0.9999793128310355f)), in build_atan()
280 nir_fmul(b, x_3, nir_imm_float(b, -0.3326756418091246f)), in build_atan()
281 nir_fmul(b, x_5, nir_imm_float(b, 0.1938924977115610f)), in build_atan()
282 nir_fmul(b, x_7, nir_imm_float(b, -0.1173503194786851f)), in build_atan()
283 nir_fmul(b, x_9, nir_imm_float(b, 0.0536813784310406f)), in build_atan()
284 nir_fmul(b, x_11, nir_imm_float(b, -0.0121323213173444f)), in build_atan()
292 nir_fmul(b, in build_atan()
294 nir_fadd(b, nir_fmul(b, tmp, in build_atan()
299 return nir_fmul(b, tmp, nir_fsign(b, y_over_x)); in build_atan()
339 nir_ssa_def *rcp_scaled_t = nir_frcp(b, nir_fmul(b, t, scale)); in build_atan2()
340 nir_ssa_def *s_over_t = nir_fmul(b, nir_fmul(b, s, scale), rcp_scaled_t); in build_atan2()
365 nir_ssa_def *arc = nir_fadd(b, nir_fmul(b, nir_b2f(b, flip), in build_atan2()
497 val->ssa->def = nir_fmul(nb, src[0], nir_imm_float(nb, 0.01745329251)); in handle_glsl450_alu()
500 val->ssa->def = nir_fmul(nb, src[0], nir_imm_float(nb, 57.2957795131)); in handle_glsl450_alu()
510 val->ssa->def = nir_fmul(nb, sign, nir_ffract(nb, abs)); in handle_glsl450_alu()
512 nir_fmul(nb, sign, nir_ffloor(nb, abs)), 0xf); in handle_glsl450_alu()
520 val->ssa->elems[0]->def = nir_fmul(nb, sign, nir_ffract(nb, abs)); in handle_glsl450_alu()
521 val->ssa->elems[1]->def = nir_fmul(nb, sign, nir_ffloor(nb, abs)); in handle_glsl450_alu()
562 nir_fsub(nb, nir_fmul(nb, nir_swizzle(nb, src[0], yzx, 3, true), in handle_glsl450_alu()
564 nir_fmul(nb, nir_swizzle(nb, src[0], zxy, 3, true), in handle_glsl450_alu()
577 nir_fmul(nb, t, nir_fmul(nb, t, in handle_glsl450_alu()
579 nir_fmul(nb, NIR_IMM_FP(nb, 2.0), t)))); in handle_glsl450_alu()
593 nir_fsub(nb, src[0], nir_fmul(nb, nir_imm_float(nb, 2.0), in handle_glsl450_alu()
594 nir_fmul(nb, nir_fdot(nb, src[0], src[1]), in handle_glsl450_alu()
607 nir_fsub(nb, one, nir_fmul(nb, eta, nir_fmul(nb, eta, in handle_glsl450_alu()
608 nir_fsub(nb, one, nir_fmul(nb, n_dot_i, n_dot_i))))); in handle_glsl450_alu()
610 nir_fsub(nb, nir_fmul(nb, eta, I), in handle_glsl450_alu()
611 nir_fmul(nb, nir_fadd(nb, nir_fmul(nb, eta, n_dot_i), in handle_glsl450_alu()
621 nir_fmul(nb, nir_imm_float(nb, 0.5f), in handle_glsl450_alu()
629 nir_fmul(nb, nir_imm_float(nb, 0.5f), in handle_glsl450_alu()
644 nir_ssa_def *exp2x = build_exp(nb, nir_fmul(nb, x, nir_imm_float(nb, 2))); in handle_glsl450_alu()
651 val->ssa->def = nir_fmul(nb, nir_fsign(nb, src[0]), in handle_glsl450_alu()
653 nir_fsqrt(nb, nir_fadd(nb, nir_fmul(nb, src[0], src[0]), in handle_glsl450_alu()
658 nir_fsqrt(nb, nir_fsub(nb, nir_fmul(nb, src[0], src[0]), in handle_glsl450_alu()
663 val->ssa->def = nir_fmul(nb, nir_imm_float(nb, 0.5f), in handle_glsl450_alu()