Home
last modified time | relevance | path

Searched refs:nir_fmax (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dvtn_amd.c149 def = nir_fmax(nb, src[0], nir_fmax(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
158 def = nir_fmin(nb, nir_fmax(nb, src[0], nir_fmin(nb, src[1], src[2])), in vtn_handle_amd_shader_trinary_minmax_instruction()
159 nir_fmax(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
/external/mesa3d/src/compiler/nir/
Dnir_normalize_cubemap_coords.c60 nir_ssa_def *norm = nir_fmax(b, nir_channel(b, abs, 0), in normalize_cubemap_coords_block()
61 nir_fmax(b, nir_channel(b, abs, 1), in normalize_cubemap_coords_block()
Dnir_builtin_builder.h67 res = nir_fmax(b, res, nir_fabs(b, nir_channel(b, vec, i))); in nir_fmax_abs_vec_comp()
132 return nir_fmin(b, nir_fmax(b, x, min_val), max_val); in nir_fclamp()
205 return nir_bcsel(b, condy, y, nir_bcsel(b, condx, x, nir_fmax(b, x, y))); in nir_maxmag()
Dnir_lower_tex.c235 lod = nir_fmax(b, lod, nir_ssa_for_src(b, tex->src[min_lod_idx].src, 1)); in lower_implicit_lod()
461 lod = nir_fmax(b, lod, nir_ssa_for_src(b, tex->src[min_lod_idx].src, 1)); in replace_gradient_with_lod()
553 nir_ssa_def *cond_z = nir_fge(b, abs_p_z, nir_fmax(b, abs_p_x, abs_p_y)); in lower_gradient_cube_map()
554 nir_ssa_def *cond_y = nir_fge(b, abs_p_y, nir_fmax(b, abs_p_x, abs_p_z)); in lower_gradient_cube_map()
599 nir_ssa_def *M = nir_fmax(b, nir_fdot(b, dx, dx), nir_fdot(b, dy, dy)); in lower_gradient_cube_map()
661 rho = nir_fmax(b, nir_fabs(b, dPdx), nir_fabs(b, dPdy)); in lower_gradient()
663 rho = nir_fmax(b, in lower_gradient()
708 comp[j] = nir_fmax(b, comp[j], nir_imm_float(b, 0.0)); in saturate_src()
Dnir_lower_point_size.c49 psiz = nir_fmax(b, psiz, nir_imm_float(b, min)); in lower_point_size_instr()
Dnir_format_convert.h238 return nir_fmax(b, nir_fdiv(b, nir_i2f32(b, s), factor), in nir_format_snorm_to_float()
261 f = nir_fmin(b, nir_fmax(b, f, nir_imm_float(b, -1)), nir_imm_float(b, 1)); in nir_format_float_to_snorm()
364 nir_ssa_def *clamped = nir_fmax(b, color, nir_imm_float(b, 0)); in nir_format_pack_11f11f10f()
Dnir_lower_wpos_ytransform.c290 nir_fadd(b, nir_fmax(b, neg_scale, nir_imm_float(b, 0.0)), in lower_load_sample_pos()
Dnir_builtin_builder.c178 nir_fmax(b, abs_y_over_x, one)); in nir_atan()
Dnir_lower_int64.c769 x = nir_fmax(b, x, nir_imm_floatN_t(b, INT64_MIN, x->bit_size)); in lower_f2()
/external/mesa3d/src/panfrost/midgard/
Dmidgard_errata_lod.c75 nir_fmax(b, biased, min_lod), max_lod); in nir_lod_errata_instr()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_attribute_workarounds.c103 val = nir_fmax(b, in apply_attr_wa_block()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c354 ptn_move_dest_masked(b, dest, nir_fmax(b, ptn_channel(b, src[0], X), in ptn_lit()
359 nir_ssa_def *wclamp = nir_fmax(b, nir_fmin(b, ptn_channel(b, src[0], W), in ptn_lit()
362 nir_ssa_def *pow = nir_fpow(b, nir_fmax(b, src0_y, nir_imm_float(b, 0.0)), in ptn_lit()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_tex.cpp251 lod = nir_fmax(b, lod, nir_ssa_for_src(b, tex->src[min_lod_idx].src, 1)); in lower_txl_txf_array_or_cube()
/external/mesa3d/src/compiler/nir/tests/
Dserialize_tests.cpp131 nir_ssa_def *fmax = nir_fmax(b, zero, zero); in TEST_P()
/external/mesa3d/src/gallium/drivers/panfrost/nir/
Dnir_lower_blend.c56 return nir_fmax(b, src, dst); in nir_blend_func()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c220 return nir_fmax(b, src, dst); in vc4_blend_func_f()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1030 ttn_move_dest_masked(b, dest, nir_fmax(b, ttn_channel(b, src[0], X), in ttn_lit()
1035 nir_ssa_def *wclamp = nir_fmax(b, nir_fmin(b, ttn_channel(b, src[0], W), in ttn_lit()
1038 nir_ssa_def *pow = nir_fpow(b, nir_fmax(b, src0_y, nir_imm_float(b, 0.0)), in ttn_lit()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve_cs.c277 outval = nir_fmax(&b, outval, &tex_add->dest.ssa); in build_depth_stencil_resolve_compute_shader()
Dradv_meta_resolve_fs.c455 outval = nir_fmax(&b, outval, &tex_add->dest.ssa); in build_depth_stencil_resolve_fragment_shader()
/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp2192 result = nir_fmax(&b, srcs[0], srcs[1]); in visit()
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c739 pos_xy = nir_fmin(b, nir_fmax(b, pos_xy, nir_imm_float(b, 0.0)), in blorp_nir_manual_blend_bilinear()
/external/mesa3d/prebuilt-intermediates/nir/
Dnir_builder_opcodes.h964 nir_fmax(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_fmax() function