/external/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 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() [all …]
|
D | vtn_alu.c | 119 nir_fmul(&b->nb, src0->elems[0]->def, in matrix_multiply() 124 nir_fmul(&b->nb, src0->elems[j]->def, in matrix_multiply() 146 dest->elems[i]->def = nir_fmul(&b->nb, mat->elems[i]->def, scalar); in mat_times_scalar() 474 nir_fmul(&b->nb, src[0], nir_channel(&b->nb, src[1], i)); in vtn_handle_alu() 525 val->ssa->def = nir_fmul(&b->nb, src[0], src[1]); in vtn_handle_alu()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 65 nir_ssa_def *projected = nir_fmul(b, unprojected, inv_proj); in project_src() 160 nir_fmul(b, in lower_offset() 205 nir_src_for_ssa(nir_fmul(b, coords, scale))); in lower_rect() 254 nir_fmul(b, nir_imm_float(b, 1.16438356f), in convert_yuv_to_rgb() 496 nir_ssa_def *tmp = nir_fmul(b, Q_xy, rcp_Q_z); in lower_gradient_cube_map() 501 nir_fmul(b, rcp_Q_z, nir_fsub(b, dQdx_xy, nir_fmul(b, tmp, dQdx_z))); in lower_gradient_cube_map() 506 nir_fmul(b, rcp_Q_z, nir_fsub(b, dQdy_xy, nir_fmul(b, tmp, dQdy_z))); in lower_gradient_cube_map() 518 nir_fmul(b, in lower_gradient_cube_map() 520 nir_flog2(b, nir_fmul(b, L, nir_fmul(b, L, M))))); in lower_gradient_cube_map() 559 nir_ssa_def *dPdx = nir_fmul(b, ddx, size); in lower_gradient() [all …]
|
D | nir_lower_double_ops.c | 271 nir_ssa_def *h_0 = nir_fmul(b, one_half, ra); in lower_sqrt_rsq() 272 nir_ssa_def *g_0 = nir_fmul(b, src, ra); in lower_sqrt_rsq() 281 nir_ssa_def *y_1 = nir_fmul(b, nir_imm_double(b, 2.0), h_1); in lower_sqrt_rsq() 282 nir_ssa_def *r_1 = nir_ffma(b, nir_fneg(b, y_1), nir_fmul(b, h_1, src), in lower_sqrt_rsq() 407 nir_fmul(b, in lower_round_even() 410 nir_fmul(b, in lower_round_even() 451 nir_ssa_def *mod = nir_fsub(b, src0, nir_fmul(b, src1, floor)); in lower_mod()
|
D | nir_lower_wpos_ytransform.c | 127 wpos_temp_y = nir_fadd(b, nir_fmul(b, nir_channel(b, wpos_temp, 1), in emit_wpos_adjustment() 132 wpos_temp_y = nir_fadd(b, nir_fmul(b, nir_channel(b, wpos_temp, 1), in emit_wpos_adjustment() 246 pt = nir_fmul(b, p, nir_channel(b, trans, 0)); in lower_fddy() 268 flip_y = nir_fmul(b, nir_channel(b, offset, 1), in lower_interp_var_at_offset() 288 nir_fmul(b, nir_channel(b, pos, 1), scale)); in lower_load_sample_pos()
|
D | nir_lower_idiv.c | 75 q = nir_fmul(bld, af, bf); in convert_instr() 87 r = nir_fmul(bld, r, bf); in convert_instr()
|
D | nir_normalize_cubemap_coords.c | 64 nir_ssa_def *normalized = nir_fmul(b, orig_coord, nir_frcp(b, norm)); in normalize_cubemap_coords_block()
|
D | nir_lower_alu_to_scalar.c | 176 sum[i] = nir_fmul(b, nir_channel(b, instr->src[0].src.ssa, in lower_alu_instr_scalar()
|
D | nir_builder.h | 438 case 1: return nir_fmul(build, src0, src1); in nir_fdot()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_nir_attribute_workarounds.c | 65 nir_fmul(b, val, nir_imm_float(b, 1.0f / 65536.0f)); in apply_attr_wa_block() 104 nir_fmul(b, nir_i2f32(b, val), es3_normalize_factor), in apply_attr_wa_block() 116 val = nir_fmul(b, nir_u2f32(b, val), normalize_factor); in apply_attr_wa_block()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_blend.c | 74 nir_ssa_def *low = nir_fmul(b, srgb, nir_imm_float(b, 1.0 / 12.92)); in vc4_nir_srgb_decode() 76 nir_fmul(b, in vc4_nir_srgb_decode() 89 nir_ssa_def *low = nir_fmul(b, linear, nir_imm_float(b, 12.92)); in vc4_nir_srgb_encode() 91 nir_fmul(b, in vc4_nir_srgb_encode() 306 src_blend[i] = nir_fmul(b, src_color[i], in vc4_do_blending_f() 310 dst_blend[i] = nir_fmul(b, dst_color[i], in vc4_do_blending_f() 590 nir_ssa_def *num_bits = nir_f2i32(b, nir_fmul(b, a, num_samples)); in vc4_nir_lower_blend_instr()
|
D | vc4_nir_lower_io.c | 108 return nir_fmul(b, in vc4_nir_get_vattr_channel_vpm() 122 return nir_fsub(b, nir_fmul(b, in vc4_nir_get_vattr_channel_vpm() 151 return nir_fmul(b, temp, in vc4_nir_get_vattr_channel_vpm() 159 return nir_fmul(b, temp, in vc4_nir_get_vattr_channel_vpm()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_ycbcr_textures.c | 46 return nir_fmul(b, in y_range() 48 nir_fmul(b, y_channel, in y_range() 69 return nir_fmul(b, in chroma_range() 71 nir_fmul(b, chroma_channel, in chroma_range() 190 nir_fmul(b, in implicit_downsampled_coord()
|
/external/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 344 nir_fmul(b, abs_srcx, in ptn_log() 361 ptn_move_dest_masked(b, dest, nir_fmul(b, src[0], src[1]), WRITEMASK_Y); in ptn_dst() 453 nir_fmul(b, in ptn_xpd() 456 nir_fmul(b, in ptn_xpd() 765 ptn_move_dest(b, dest, nir_fadd(b, nir_fmul(b, src[0], src[1]), src[2])); in ptn_emit_instruction()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_resolve_cs.c | 49 ltvals[i] = nir_fmul(b, nir_channel(b, input, i), in radv_meta_build_resolve_srgb_conversion() 59 gtvals[i] = nir_fmul(b, gtvals[i], in radv_meta_build_resolve_srgb_conversion()
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_blit.c | 138 return nir_fadd(b, nir_fmul(b, src_pos, mul), offset); in blorp_blit_apply_transform() 210 pos = nir_fmul(b, pos, nir_load_var(b, v->v_src_inv_size)); in blorp_nir_tex() 723 texture_data[0] = nir_fmul(b, texture_data[0], in blorp_nir_manual_blend_average() 759 pos_xy = nir_fmul(b, pos_xy, scale); in blorp_nir_manual_blend_bilinear()
|
/external/mesa3d/prebuilt-intermediates/nir/ |
D | nir_builder_opcodes.h | 424 nir_fmul(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_fmul() function
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 923 ttn_move_dest_masked(b, dest, nir_fmul(b, src[0], src[1]), TGSI_WRITEMASK_Y); in ttn_dst()
|
/external/mesa3d/src/compiler/glsl/ |
D | glsl_to_nir.cpp | 1741 result = type_is_float(out_type) ? nir_fmul(&b, srcs[0], srcs[1]) in visit()
|