Home
last modified time | relevance | path

Searched refs:nir_fadd (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dvtn_glsl450.c60 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()
229nir_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()
316 nir_fadd(b, atan1, in build_atan2()
[all …]
Dvtn_alu.c123 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()
425 val->ssa->def = nir_fadd(&b->nb, in vtn_handle_alu()
430 val->ssa->def = nir_fadd(&b->nb, in vtn_handle_alu()
435 val->ssa->def = nir_fadd(&b->nb, in vtn_handle_alu()
/external/mesa3d/src/compiler/nir/
Dnir_lower_wpos_ytransform.c109 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()
Dnir_lower_alu_to_scalar.c183 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()
Dnir_lower_tex.c124 offset_coord = nir_fadd(b, coord, nir_i2f(b, offset)); in lower_offset()
246 nir_fadd(b, y, nir_imm_float(b, -0.0625f))), in convert_yuv_to_rgb()
247 nir_channel(b, nir_fadd(b, u, nir_imm_float(b, -0.5f)), 0), in convert_yuv_to_rgb()
248 nir_channel(b, nir_fadd(b, v, nir_imm_float(b, -0.5f)), 0), in convert_yuv_to_rgb()
493 nir_fadd(b, in lower_gradient_cube_map()
686 nir_fadd(b, in linearize_srgb_result()
Dnir_lower_double_ops.c383 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()
Dnir_lower_wpos_center.c54 wpos = nir_fadd(b, wpos, nir_imm_vec4(b, 0.5f, 0.5f, 0.0f, 0.0f)); in add_half_to_fragcoord()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir_attribute_workarounds.c125 val = nir_fadd(b, nir_fmul(b, nir_i2f(b, val), two), one); in apply_attr_wa_block()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c77 nir_fadd(b, srgb, in vc4_nir_srgb_decode()
242 return nir_fadd(b, src, dst); in vc4_blend_func_f()
Dvc4_nir_lower_io.c127 return nir_fadd(b, in vc4_nir_get_vattr_channel_vpm()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve_cs.c147 tmp = nir_fadd(&b, tmp, &tex_add->dest.ssa); in build_resolve_compute_shader()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1013 ttn_channel(b, nir_fadd(b, nir_fdot2(b, src[0], src[1]), in ttn_dp2a()
1039 ttn_move_dest(b, dest, nir_fadd(b, nir_fdot3(b, src[0], src[1]), in ttn_dph()
1052 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/intel/blorp/
Dblorp_blit.c698 nir_fadd(b, texture_data[stack_depth - 1], in blorp_nir_manual_blend_average()
746 pos_xy = nir_fadd(b, pos_xy, nir_imm_float(b, -0.5)); in blorp_nir_manual_blend_bilinear()
767 nir_ssa_def *sample_coords = nir_fadd(b, pos_xy, sample_off); in blorp_nir_manual_blend_bilinear()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c765 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/
Dnir_builder_opcodes.h194 nir_fadd(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_fadd() function
/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp1615 result = type_is_float(out_type) ? nir_fadd(&b, srcs[0], srcs[1]) in visit()