Home
last modified time | relevance | path

Searched refs:nir_fmin (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dvtn_amd.c140 def = nir_fmin(nb, src[0], nir_fmin(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()
/external/mesa3d/src/panfrost/midgard/
Dmidgard_errata_lod.c74 nir_ssa_def *clamped = nir_fmin(b, in nir_lod_errata_instr()
/external/mesa3d/src/compiler/nir/
Dnir_lower_point_size.c52 psiz = nir_fmin(b, psiz, nir_imm_float(b, max)); in lower_point_size_instr()
Dnir_builtin_builder.h132 return nir_fmin(b, nir_fmax(b, x, min_val), max_val); in nir_fclamp()
217 return nir_bcsel(b, condy, y, nir_bcsel(b, condx, x, nir_fmin(b, x, y))); in nir_minmag()
Dnir_builtin_builder.c177 nir_ssa_def *x = nir_fdiv(b, nir_fmin(b, abs_y_over_x, one), in nir_atan()
295 return nir_bcsel(b, nir_flt(b, nir_fmin(b, y, rcp_scaled_t), zero), in nir_atan2()
Dnir_format_convert.h261 f = nir_fmin(b, nir_fmax(b, f, nir_imm_float(b, -1)), nir_imm_float(b, 1)); in nir_format_float_to_snorm()
390 nir_ssa_def *clamped = nir_fmin(b, color, nir_imm_float(b, MAX_RGB9E5)); in nir_format_pack_r9g9b9e5()
Dnir_lower_int64.c763 x = nir_fmin(b, x, nir_imm_floatN_t(b, UINT64_MAX, x->bit_size)); in lower_f2()
768 x = nir_fmin(b, x, nir_imm_floatN_t(b, INT64_MAX, x->bit_size)); in lower_f2()
Dnir_lower_tex.c709 comp[j] = nir_fmin(b, comp[j], nir_channel(b, txs, j)); in saturate_src()
/external/mesa3d/src/gallium/drivers/panfrost/nir/
Dnir_lower_blend.c54 return nir_fmin(b, src, dst); in nir_blend_func()
90 return (chan < 3) ? nir_fmin(b, Asrc, Adsti) : one; in nir_alpha_saturate()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_line_smooth.c130 nir_ssa_def *clamped = nir_fmin(&b, coverage, nir_imm_float(&b, 1.0f)); in initialise_coverage_var()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c91 return nir_fmin(b, in vc4_blend_channel_f()
218 return nir_fmin(b, src, dst); in vc4_blend_func_f()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c359 nir_ssa_def *wclamp = nir_fmax(b, nir_fmin(b, ptn_channel(b, src[0], W), in ptn_lit()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve_fs.c449 outval = nir_fmin(&b, outval, &tex_add->dest.ssa); in build_depth_stencil_resolve_fragment_shader()
Dradv_meta_resolve_cs.c271 outval = nir_fmin(&b, outval, &tex_add->dest.ssa); in build_depth_stencil_resolve_compute_shader()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1035 nir_ssa_def *wclamp = nir_fmax(b, nir_fmin(b, ttn_channel(b, src[0], W), in ttn_lit()
/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp2184 result = nir_fmin(&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.h969 nir_fmin(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_fmin() function