Home
last modified time | relevance | path

Searched refs:nir_bcsel (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_double_ops.c97 res = nir_bcsel(b, nir_ior(b, nir_ige(b, nir_imm_int(b, 0), exp), in fix_inv_result()
103 res = nir_bcsel(b, nir_fne(b, src, nir_imm_double(b, 0.0f)), in fix_inv_result()
292 res = nir_bcsel(b, nir_ior(b, nir_feq(b, src, nir_imm_double(b, 0.0)), in lower_sqrt_rsq()
327 nir_bcsel(b, in lower_trunc()
333 nir_bcsel(b, in lower_trunc()
344 nir_bcsel(b, in lower_trunc()
347 nir_bcsel(b, nir_ige(b, unbiased_exp, nir_imm_int(b, 53)), in lower_trunc()
365 return nir_bcsel(b, in lower_floor()
380 return nir_bcsel(b, in lower_ceil()
429 return nir_bcsel(b, in lower_round_even()
[all …]
Dnir_lower_int64.c111 n_hi = nir_bcsel(b, cond, new_n_hi, n_hi); in lower_udiv64_mod64()
112 q_hi = nir_bcsel(b, cond, new_q_hi, q_hi); in lower_udiv64_mod64()
140 n = nir_bcsel(b, cond, new_n, n); in lower_udiv64_mod64()
141 q_lo = nir_bcsel(b, cond, new_q_lo, q_lo); in lower_udiv64_mod64()
166 return nir_bcsel(b, negate, nir_ineg(b, q), q); in lower_idiv64()
188 nir_ssa_def *rem = nir_bcsel(b, n_is_neg, nir_ineg(b, r), r); in lower_imod64()
190 return nir_bcsel(b, nir_ieq(b, r, nir_imm_int64(b, 0)), nir_imm_int64(b, 0), in lower_imod64()
191 nir_bcsel(b, nir_ieq(b, n_is_neg, d_is_neg), rem, in lower_imod64()
203 return nir_bcsel(b, n_is_neg, nir_ineg(b, r), r); in lower_irem64()
Dnir_lower_tex.c468 Q = nir_bcsel(b, cond_z, in lower_gradient_cube_map()
470 nir_bcsel(b, cond_y, in lower_gradient_cube_map()
474 dQdx = nir_bcsel(b, cond_z, in lower_gradient_cube_map()
476 nir_bcsel(b, cond_y, in lower_gradient_cube_map()
480 dQdy = nir_bcsel(b, cond_z, in lower_gradient_cube_map()
482 nir_bcsel(b, cond_y, in lower_gradient_cube_map()
714 nir_ssa_def *rgb = nir_bcsel(b, cond, low, high); in linearize_srgb_result()
Dnir_lower_idiv.c106 q = nir_bcsel(bld, r, b, q); in convert_instr()
Dnir_lower_two_sided_color.c164 nir_ssa_def *color = nir_bcsel(b, face, front, back); in nir_lower_two_sided_color_block()
Dnir_lower_wpos_ytransform.c74 return nir_bcsel(b, nir_flt(b, src0, nir_imm_float(b, 0.0)), src1, src2); in nir_cmp()
/external/mesa3d/src/compiler/spirv/
Dvtn_glsl450.c315 nir_ssa_def *s = nir_bcsel(b, flip, nir_fabs(b, x), y); in build_atan2()
316 nir_ssa_def *t = nir_bcsel(b, flip, y, nir_fabs(b, x)); in build_atan2()
337 nir_ssa_def *scale = nir_bcsel(b, nir_fge(b, nir_fabs(b, t), huge), in build_atan2()
359 nir_ssa_def *tan = nir_bcsel(b, nir_feq(b, nir_fabs(b, x), nir_fabs(b, y)), in build_atan2()
378 return nir_bcsel(b, nir_flt(b, nir_fmin(b, y, rcp_scaled_t), zero), in build_atan2()
409 nir_bcsel(b, is_not_zero, exponent_bias, zero)); in build_frexp()
412 nir_bcsel(b, is_not_zero, exponent_value, zero)); in build_frexp()
585 nir_bcsel(nb, nir_flt(nb, nir_fdot(nb, src[2], src[1]), in handle_glsl450_alu()
614 val->ssa->def = nir_bcsel(nb, nir_flt(nb, k, zero), zero, result); in handle_glsl450_alu()
Dspirv_to_nir.c2742 dest = nir_bcsel(&b->nb, nir_ieq(&b->nb, index, nir_imm_int(&b->nb, i)), in vtn_vector_extract_dynamic()
2754 dest = nir_bcsel(&b->nb, nir_ieq(&b->nb, index, nir_imm_int(&b->nb, i)), in vtn_vector_insert_dynamic()
3644 ssa->def = nir_bcsel(&b->nb, vtn_ssa_value(b, w[3])->def, in vtn_handle_body_instruction()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_tcs_workarounds.c110 inner = nir_bcsel(b, nir_fge(b, nir_imm_float(b, 1.0f), inner), in emit_quads_workaround()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c118 shifted = nir_bcsel(b, nir_ilt(b, shift, nir_imm_int(b, 32)), in build_view_index()
/external/mesa3d/src/amd/vulkan/
Dradv_meta.c440 comp[0] = nir_bcsel(vs_b, c0cmp, in radv_meta_gen_rect_vertices_comp2()
444 comp[1] = nir_bcsel(vs_b, c1cmp, in radv_meta_gen_rect_vertices_comp2()
Dradv_meta_blit.c88 comp[0] = nir_bcsel(&b, c0cmp, in build_nir_vertex_shader()
92 comp[1] = nir_bcsel(&b, c1cmp, in build_nir_vertex_shader()
Dradv_meta_blit2d.c410 comp[0] = nir_bcsel(&b, c0cmp, in build_nir_vertex_shader()
414 comp[1] = nir_bcsel(&b, c1cmp, in build_nir_vertex_shader()
Dradv_meta_resolve_cs.c68 comp[i] = nir_bcsel(b, cmp[i], ltvals[i], gtvals[i]); in radv_meta_build_resolve_srgb_conversion()
Dradv_query.c220 nir_ssa_def *result_size = nir_bcsel(&b, result_is_64bit, nir_imm_int(&b, 8), nir_imm_int(&b, 4)); in build_occlusion_query_shader()
375 nir_ssa_def *elem_size = nir_bcsel(&b, result_is_64bit, nir_imm_int(&b, 8), nir_imm_int(&b, 4)); in build_pipeline_statistics_query_shader()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c82 return nir_bcsel(b, is_low, low, high); in vc4_nir_srgb_decode()
98 return nir_bcsel(b, is_low, low, high); in vc4_nir_srgb_encode()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c611 nir_bcsel(&c->build, in ttn_src_for_file_and_index()
951 nir_bcsel(b, in ttn_lit()
1006 ttn_move_dest(b, dest, nir_bcsel(b, in ttn_cmp()
1014 ttn_move_dest(b, dest, nir_bcsel(b, in ttn_ucmp()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c390 z = nir_bcsel(b, in ptn_lit()
491 ptn_move_dest(b, dest, nir_bcsel(b, in ptn_cmp()
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c860 sample = nir_bcsel(b, nir_ilt(b, sample, nir_imm_int(b, 8)), in blorp_nir_manual_blend_bilinear()
1292 nir_bcsel(&b, nir_ieq(&b, comp, nir_imm_int(&b, 0)), in brw_blorp_build_nir_shader()
1294 nir_bcsel(&b, nir_ieq(&b, comp, nir_imm_int(&b, 1)), in brw_blorp_build_nir_shader()
/external/mesa3d/prebuilt-intermediates/nir/
Dnir_builder_opcodes.h99 nir_bcsel(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1, nir_ssa_def *src2) in nir_bcsel() function
/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp1926 result = nir_bcsel(&b, srcs[0], srcs[1], srcs[2]); in visit()