/third_party/mesa3d/src/compiler/nir/ |
D | nir_builtin_builder.c | 87 x = nir_fmul(b, x, nir_imm_floatN_t(b, 1.0, x->bit_size)); in nir_nextafter() 115 nir_ssa_def *f0 = nir_imm_floatN_t(b, 0.0, vec->bit_size); in nir_normalize() 116 nir_ssa_def *f1 = nir_imm_floatN_t(b, 1.0, vec->bit_size); in nir_normalize() 117 nir_ssa_def *finf = nir_imm_floatN_t(b, INFINITY, vec->bit_size); in nir_normalize() 134 nir_ssa_def *f2 = nir_imm_floatN_t(b, 2.0, x->bit_size); in nir_smoothstep() 135 nir_ssa_def *f3 = nir_imm_floatN_t(b, 3.0, x->bit_size); in nir_smoothstep() 181 nir_ssa_def *one = nir_imm_floatN_t(b, 1.0f, bit_size); in nir_atan() 256 nir_ssa_def *zero = nir_imm_floatN_t(b, 0, bit_size); in nir_atan2() 257 nir_ssa_def *one = nir_imm_floatN_t(b, 1, bit_size); in nir_atan2() 288 nir_ssa_def *huge = nir_imm_floatN_t(b, huge_val, bit_size); in nir_atan2() [all …]
|
D | nir_conversion_builder.h | 81 nir_ssa_def *inf = nir_imm_floatN_t(b, INFINITY, dest_bit_size); in nir_round_float_to_float() 92 nir_ssa_def *neg_inf = nir_imm_floatN_t(b, -INFINITY, dest_bit_size); in nir_round_float_to_float() 263 *low = nir_imm_floatN_t(b, ilow, src_bit_size); in nir_get_clamp_limits() 264 *high = nir_imm_floatN_t(b, ihigh, src_bit_size); in nir_get_clamp_limits() 276 *low = nir_imm_floatN_t(b, 0.0f, src_bit_size); in nir_get_clamp_limits() 277 *high = nir_imm_floatN_t(b, uhigh, src_bit_size); in nir_get_clamp_limits() 324 *low = nir_imm_floatN_t(b, flow, src_bit_size); in nir_get_clamp_limits() 325 *high = nir_imm_floatN_t(b, fhigh, src_bit_size); in nir_get_clamp_limits()
|
D | nir_lower_blend.c | 87 nir_ssa_def *one = nir_imm_floatN_t(b, 1.0, src->bit_size); in nir_alpha_saturate() 104 return nir_imm_floatN_t(b, 0.0, src->bit_size); in nir_blend_factor_value() 268 return nir_fclamp(b, x, nir_imm_floatN_t(b, -1.0, x->bit_size), in nir_fsat_signed() 269 nir_imm_floatN_t(b, +1.0, x->bit_size)); in nir_fsat_signed() 319 nir_ssa_def *zero = nir_imm_floatN_t(b, 0.0, dst->bit_size); in nir_blend() 320 nir_ssa_def *one = nir_imm_floatN_t(b, 1.0, dst->bit_size); in nir_blend()
|
D | nir_lower_frexp.c | 36 nir_ssa_def *zero = nir_imm_floatN_t(b, 0, x->bit_size); in lower_frexp_sig() 123 nir_ssa_def *zero = nir_imm_floatN_t(b, 0, x->bit_size); in lower_frexp_exp()
|
D | nir_builder.h | 227 nir_imm_floatN_t(nir_builder *build, double x, unsigned bit_size) in nir_imm_floatN_t() function 236 return nir_imm_floatN_t(build, x, 16); in nir_imm_float16() 242 return nir_imm_floatN_t(build, x, 32); in nir_imm_float() 248 return nir_imm_floatN_t(build, x, 64); in nir_imm_double() 719 return nir_fadd(build, x, nir_imm_floatN_t(build, y, x->bit_size)); in nir_fadd_imm() 725 return nir_fmul(build, x, nir_imm_floatN_t(build, y, x->bit_size)); in nir_fmul_imm() 850 return nir_ffma(build, src0, nir_imm_floatN_t(build, src1, src0->bit_size), in nir_ffma_imm12() 851 nir_imm_floatN_t(build, src2, src0->bit_size)); in nir_ffma_imm12() 857 return nir_ffma(build, src0, nir_imm_floatN_t(build, src1, src0->bit_size), src2); in nir_ffma_imm1() 863 return nir_ffma(build, src0, src1, nir_imm_floatN_t(build, src2, src0->bit_size)); in nir_ffma_imm2()
|
D | nir_builtin_builder.h | 152 nir_ssa_def *zero = nir_imm_floatN_t(b, 0.0, x->bit_size); in nir_fdim() 203 nir_ssa_def *nan = nir_imm_floatN_t(b, NAN, x->bit_size); in nir_nan()
|
D | nir_lower_texcoord_replace.c | 95 nir_ssa_def *one = nir_imm_floatN_t(&b, 1.0, new_coord->bit_size); in nir_lower_texcoord_replace_impl()
|
D | nir_lower_flrp.c | 87 nir_fadd(bld, nir_imm_floatN_t(bld, 1.0f, c->bit_size), neg_c); in replace_with_single_ffma() 120 nir_fadd(bld, nir_imm_floatN_t(bld, 1.0f, c->bit_size), neg_c); in replace_with_strict()
|
D | nir_opt_comparison_pre.c | 162 nir_imm_floatN_t(bld, 0.0, orig_add->dest.dest.ssa.bit_size); in rewrite_compare_instruction()
|
D | nir_lower_int64.c | 695 nir_imm_floatN_t(b, -1, dest_bit_size), in lower_2f() 696 nir_imm_floatN_t(b, 1, dest_bit_size)); in lower_2f() 772 nir_ssa_def *div = nir_imm_floatN_t(b, 1ULL << 32, x->bit_size); in lower_f2() 779 res = nir_bcsel(b, nir_flt(b, x_sign, nir_imm_floatN_t(b, 0, x->bit_size)), in lower_f2()
|
D | nir_lower_tex.c | 383 nir_imm_floatN_t(b, offset_vals[0], a->bit_size), in convert_yuv_to_rgb() 384 nir_imm_floatN_t(b, offset_vals[1], a->bit_size), in convert_yuv_to_rgb() 385 nir_imm_floatN_t(b, offset_vals[2], a->bit_size), in convert_yuv_to_rgb()
|
D | nir_search.c | 545 cval = nir_imm_floatN_t(build, c->data.d, bit_size); in construct_value()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 172 nir_ssa_def *one = nir_imm_floatN_t(b, 1.0f, x->bit_size); in build_asin() 173 nir_ssa_def *half = nir_imm_floatN_t(b, 0.5f, x->bit_size); in build_asin() 184 nir_a_minus_bc(b, nir_imm_floatN_t(b, M_PI_2f, x->bit_size), in build_asin() 272 #define NIR_IMM_FP(n, v) (nir_imm_floatN_t(n, v, src[0]->bit_size)) 346 nir_ssa_def *inf = nir_imm_floatN_t(&b->nb, INFINITY, src[0]->bit_size); in handle_glsl450_alu() 371 nir_ssa_def *inf = nir_imm_floatN_t(&b->nb, INFINITY, src[0]->bit_size); in handle_glsl450_alu() 407 dest->def = nir_fsub(nb, nir_imm_floatN_t(nb, 1.0f, cmp->bit_size), cmp); in handle_glsl450_alu() 532 nir_imm_floatN_t(nb, -clamped_x, bit_size), in handle_glsl450_alu() 533 nir_imm_floatN_t(nb, clamped_x, bit_size)); in handle_glsl450_alu() 545 nir_imm_floatN_t(nb, 0, bit_size), in handle_glsl450_alu() [all …]
|
D | vtn_opencl.c | 846 nir_ssa_def *half = nir_imm_floatN_t(nb, 0.5, src->bit_size); in handle_round()
|
D | vtn_alu.c | 741 nir_ssa_def *inf = nir_imm_floatN_t(&b->nb, INFINITY, src[0]->bit_size); in vtn_handle_alu()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_lower_image_casts.c | 174 nir_imm_floatN_t(b, i == 3 ? 1.0f : 0.0f, to_desc->channel[0].size) : in convert_value()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir.c | 299 ai = nir_fadd(b, ai, nir_imm_floatN_t(b, 0.5, src->bit_size)); in ir3_nir_lower_array_sampler_cb()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_nir.c | 688 res = nir_fmul(&b, res, nir_imm_floatN_t(&b, 1.0f / nsamples, type_sz)); in dzn_nir_blit_fs()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blitter.c | 557 nir_imm_floatN_t(&b, 1.0f / nsamples, type_sz)); in pan_blitter_get_blit_shader()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline.c | 4244 channels[i] = is_float ? nir_imm_floatN_t(&b, 1.0f, intrin->dest.ssa.bit_size) in radv_lower_vs_input()
|