Lines Matching refs:ssa

482    val->ssa = vtn_create_ssa_value(b, dest_type);  in handle_glsl450_alu()
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()
503 val->ssa->def = nir_fdiv(nb, nir_fsin(nb, src[0]), in handle_glsl450_alu()
510 val->ssa->def = nir_fmul(nb, sign, nir_ffract(nb, abs)); in handle_glsl450_alu()
519 vtn_assert(glsl_type_is_struct(val->ssa->type)); 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()
526 val->ssa->def = nir_sge(nb, src[1], src[0]); in handle_glsl450_alu()
530 val->ssa->def = build_length(nb, src[0]); in handle_glsl450_alu()
533 val->ssa->def = build_length(nb, nir_fsub(nb, src[0], src[1])); in handle_glsl450_alu()
536 val->ssa->def = nir_fdiv(nb, src[0], build_length(nb, src[0])); in handle_glsl450_alu()
540 val->ssa->def = build_exp(nb, src[0]); in handle_glsl450_alu()
544 val->ssa->def = build_log(nb, src[0]); in handle_glsl450_alu()
549 val->ssa->def = build_fclamp(nb, src[0], src[1], src[2]); in handle_glsl450_alu()
552 val->ssa->def = nir_umin(nb, nir_umax(nb, src[0], src[1]), src[2]); in handle_glsl450_alu()
555 val->ssa->def = nir_imin(nb, nir_imax(nb, src[0], src[1]), src[2]); in handle_glsl450_alu()
561 val->ssa->def = in handle_glsl450_alu()
576 val->ssa->def = in handle_glsl450_alu()
584 val->ssa->def = in handle_glsl450_alu()
592 val->ssa->def = in handle_glsl450_alu()
614 val->ssa->def = nir_bcsel(nb, nir_flt(nb, k, zero), zero, result); in handle_glsl450_alu()
620 val->ssa->def = in handle_glsl450_alu()
628 val->ssa->def = in handle_glsl450_alu()
645 val->ssa->def = nir_fdiv(nb, nir_fsub(nb, exp2x, nir_imm_float(nb, 1)), in handle_glsl450_alu()
651 val->ssa->def = nir_fmul(nb, nir_fsign(nb, src[0]), in handle_glsl450_alu()
657 val->ssa->def = build_log(nb, nir_fadd(nb, src[0], in handle_glsl450_alu()
663 val->ssa->def = nir_fmul(nb, nir_imm_float(nb, 0.5f), in handle_glsl450_alu()
670 val->ssa->def = build_asin(nb, src[0], 0.086566724, -0.03102955); in handle_glsl450_alu()
674 val->ssa->def = nir_fsub(nb, nir_imm_float(nb, M_PI_2f), in handle_glsl450_alu()
679 val->ssa->def = build_atan(nb, src[0]); in handle_glsl450_alu()
683 val->ssa->def = build_atan2(nb, src[0], src[1]); in handle_glsl450_alu()
688 val->ssa->def = build_frexp(nb, src[0], &exponent); in handle_glsl450_alu()
694 vtn_assert(glsl_type_is_struct(val->ssa->type)); in handle_glsl450_alu()
695 val->ssa->elems[0]->def = build_frexp(nb, src[0], in handle_glsl450_alu()
696 &val->ssa->elems[1]->def); in handle_glsl450_alu()
701 val->ssa->def = in handle_glsl450_alu()
717 val->ssa = vtn_create_ssa_value(b, dest_type); in handle_glsl450_interpolation()
754 val->ssa->def = &intrin->dest.ssa; in handle_glsl450_interpolation()
766 val->ssa = rzalloc(b, struct vtn_ssa_value); in vtn_handle_glsl450_instruction()
767 val->ssa->type = vtn_value(b, w[1], vtn_value_type_type)->type->type; in vtn_handle_glsl450_instruction()
768 val->ssa->def = build_mat_det(b, vtn_ssa_value(b, w[5])); in vtn_handle_glsl450_instruction()
774 val->ssa = matrix_inverse(b, vtn_ssa_value(b, w[5])); in vtn_handle_glsl450_instruction()