Home
last modified time | relevance | path

Searched refs:nir_imm_double (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_double_ops.c99 nir_imm_double(b, INFINITY))), in fix_inv_result()
100 nir_imm_double(b, 0.0f), res); in fix_inv_result()
103 res = nir_bcsel(b, nir_fne(b, src, nir_imm_double(b, 0.0f)), in fix_inv_result()
145 ra = nir_ffma(b, ra, nir_ffma(b, ra, src, nir_imm_double(b, -1)), ra); in lower_rcp()
146 ra = nir_ffma(b, ra, nir_ffma(b, ra, src, nir_imm_double(b, -1)), ra); in lower_rcp()
270 nir_ssa_def *one_half = nir_imm_double(b, 0.5); in lower_sqrt_rsq()
281 nir_ssa_def *y_1 = nir_fmul(b, nir_imm_double(b, 2.0), h_1); in lower_sqrt_rsq()
292 res = nir_bcsel(b, nir_ior(b, nir_feq(b, src, nir_imm_double(b, 0.0)), in lower_sqrt_rsq()
293 nir_feq(b, src, nir_imm_double(b, INFINITY))), in lower_sqrt_rsq()
346 nir_imm_double(b, 0.0), in lower_trunc()
[all …]
Dnir_builder.h220 nir_imm_double(nir_builder *build, double x) in nir_imm_double() function
/external/mesa3d/src/compiler/spirv/
Dvtn_glsl450.c471 #define NIR_IMM_FP(n, v) (src[0]->bit_size == 64 ? nir_imm_double(n, v) : nir_imm_float(n, v))