/external/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 60 return nir_fadd(b, nir_channel(b, diff, 0), in build_mat3_det() 61 nir_fadd(b, nir_channel(b, diff, 1), in build_mat3_det() 84 return nir_fadd(b, nir_fsub(b, nir_channel(b, prod, 0), in build_mat4_det() 225 nir_fadd(b, nir_imm_float(b, M_PI_2f), in build_asin() 227 nir_fadd(b, nir_imm_float(b, M_PI_4f - 1.0f), in build_asin() 229 … nir_fadd(b, nir_imm_float(b, p0), in build_asin() 243 accum = nir_fadd(b, accum, xs[i]); in build_fsum() 291 tmp = nir_fadd(b, tmp, in build_atan() 294 nir_fadd(b, nir_fmul(b, tmp, in build_atan() 365 nir_ssa_def *arc = nir_fadd(b, nir_fmul(b, nir_b2f(b, flip), in build_atan2() [all …]
|
D | vtn_alu.c | 123 nir_fadd(&b->nb, dest->elems[i]->def, in matrix_multiply() 173 nir_fadd(&b->nb, src0->elems[i]->def, src1->elems[i]->def); in vtn_handle_matrix_alu() 508 val->ssa->def = nir_fadd(&b->nb, in vtn_handle_alu() 513 val->ssa->def = nir_fadd(&b->nb, in vtn_handle_alu() 518 val->ssa->def = nir_fadd(&b->nb, in vtn_handle_alu()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_wpos_ytransform.c | 109 wpos_temp = nir_fadd(b, wpos_input, adj_temp); in emit_wpos_adjustment() 111 wpos_temp = nir_fadd(b, in emit_wpos_adjustment() 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() 287 nir_fadd(b, nir_fmax(b, neg_scale, nir_imm_float(b, 0.0)), in lower_load_sample_pos()
|
D | nir_lower_wpos_center.c | 58 wpos = nir_fadd(b, wpos, nir_imm_vec4(b, 0.5f, 0.5f, 0.0f, 0.0f)); in update_fragcoord() 63 wpos = nir_fadd(b, wpos, in update_fragcoord()
|
D | nir_lower_tex.c | 154 offset_coord = nir_fadd(b, coord, nir_i2f32(b, offset)); in lower_offset() 159 offset_coord = nir_fadd(b, coord, in lower_offset() 255 nir_fadd(b, y, nir_imm_float(b, -16.0f / 255.0f))), in convert_yuv_to_rgb() 256 nir_channel(b, nir_fadd(b, u, nir_imm_float(b, -128.0f / 255.0f)), 0), in convert_yuv_to_rgb() 257 nir_channel(b, nir_fadd(b, v, nir_imm_float(b, -128.0f / 255.0f)), 0), in convert_yuv_to_rgb() 516 nir_fadd(b, in lower_gradient_cube_map() 708 nir_fadd(b, in linearize_srgb_result()
|
D | nir_lower_alu_to_scalar.c | 183 nir_ssa_def *val = nir_fadd(b, nir_fadd(b, sum[0], sum[1]), in lower_alu_instr_scalar() 184 nir_fadd(b, sum[2], sum[3])); in lower_alu_instr_scalar()
|
D | nir_lower_double_ops.c | 383 nir_fadd(b, tr, nir_imm_double(b, 1.0))); in lower_ceil() 431 nir_ffloor(b, nir_fadd(b, src, nir_imm_double(b, 0.5))), in lower_round_even() 437 nir_fadd(b, src, nir_imm_double(b, 0.5)), in lower_round_even()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_ycbcr_textures.c | 47 nir_fadd(b, in y_range() 66 return nir_fadd(b, chroma_channel, in chroma_range() 70 nir_fadd(b, in chroma_range() 186 return nir_fadd(b, in implicit_downsampled_coord()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_blend.c | 77 nir_fadd(b, srgb, in vc4_nir_srgb_decode() 242 return nir_fadd(b, src, dst); in vc4_blend_func_f()
|
D | vc4_nir_lower_io.c | 127 return nir_fadd(b, in vc4_nir_get_vattr_channel_vpm()
|
/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() 206 pos = nir_fadd(b, pos, nir_i2f32(b, nir_load_var(b, v->v_src_offset))); in blorp_nir_tex() 715 nir_fadd(b, texture_data[stack_depth - 1], in blorp_nir_manual_blend_average() 763 pos_xy = nir_fadd(b, pos_xy, nir_imm_float(b, -0.5)); in blorp_nir_manual_blend_bilinear() 784 nir_ssa_def *sample_coords = nir_fadd(b, pos_xy, sample_off); in blorp_nir_manual_blend_bilinear() 1207 src_pos = nir_fadd(&b, in brw_blorp_build_nir_shader()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta.c | 561 tmp = nir_fadd(b, tmp, &tex_add->dest.ssa); in radv_meta_build_resolve_shader_core()
|
/external/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 765 ptn_move_dest(b, dest, nir_fadd(b, nir_fmul(b, src[0], src[1]), src[2])); in ptn_emit_instruction()
|
/external/mesa3d/prebuilt-intermediates/nir/ |
D | nir_builder_opcodes.h | 224 nir_fadd(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_fadd() function
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 1000 ttn_move_dest(b, dest, nir_ffloor(b, nir_fadd(b, src[0], nir_imm_float(b, 0.5)))); in ttn_arr()
|
/external/mesa3d/src/compiler/glsl/ |
D | glsl_to_nir.cpp | 1733 result = type_is_float(out_type) ? nir_fadd(&b, srcs[0], srcs[1]) in visit()
|