Home
last modified time | relevance | path

Searched refs:lp_build_cmp (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c245 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); in lp_build_min_simple()
252 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); in lp_build_min_simple()
261 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, b, a); in lp_build_min_simple()
264 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); in lp_build_min_simple()
269 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); in lp_build_min_simple()
273 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); in lp_build_min_simple()
458 cond = lp_build_cmp(bld, PIPE_FUNC_GREATER, a, b); in lp_build_max_simple()
465 cond = lp_build_cmp(bld, PIPE_FUNC_GREATER, a, b); in lp_build_max_simple()
474 cond = lp_build_cmp(bld, PIPE_FUNC_GREATER, b, a); in lp_build_max_simple()
477 cond = lp_build_cmp(bld, PIPE_FUNC_GREATER, a, b); in lp_build_max_simple()
[all …]
Dlp_bld_tgsi_action.c972 LLVMValueRef div_mask = lp_build_cmp(&bld_base->uint64_bld, in u64mod_emit_cpu()
996 LLVMValueRef div_mask = lp_build_cmp(&bld_base->uint64_bld, in i64mod_emit_cpu()
1021 LLVMValueRef div_mask = lp_build_cmp(&bld_base->uint64_bld, in u64div_emit_cpu()
1046 LLVMValueRef div_mask = lp_build_cmp(&bld_base->int64_bld, in i64div_emit_cpu()
1320 LLVMValueRef cond = lp_build_cmp(&bld_base->base, PIPE_FUNC_LESS, in cmp_emit_cpu()
1337 LLVMValueRef cond = lp_build_cmp(uint_bld, PIPE_FUNC_NOTEQUAL, in ucmp_emit_cpu()
1404 cond = lp_build_cmp(&bld_base->base, pipe_func, in fset_emit_cpu()
1495 LLVMValueRef div_mask = lp_build_cmp(&bld_base->uint_bld, in idiv_emit_cpu()
1534 LLVMValueRef cond = lp_build_cmp(&bld_base->int_bld, pipe_func, in iset_emit_cpu()
1693 LLVMValueRef div_mask = lp_build_cmp(&bld_base->uint_bld, in mod_emit_cpu()
[all …]
Dlp_bld_sample_soa.c102 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, x, int_coord_bld->zero); in lp_build_sample_texel_soa()
103 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, x, width); in lp_build_sample_texel_soa()
112 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, y, int_coord_bld->zero); in lp_build_sample_texel_soa()
113 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, y, height); in lp_build_sample_texel_soa()
128 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, z, int_coord_bld->zero); in lp_build_sample_texel_soa()
129 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, z, depth); in lp_build_sample_texel_soa()
509 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, in lp_build_sample_wrap_linear()
512 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, in lp_build_sample_wrap_linear()
606 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, coord0, in lp_build_sample_wrap_linear()
611 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, coord1, in lp_build_sample_wrap_linear()
[all …]
Dlp_bld_tgsi_aos.c527 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_LESS, src0, src1); in lp_emit_instruction_aos()
535 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_GEQUAL, src0, src1); in lp_emit_instruction_aos()
629 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_EQUAL, src0, src1); in lp_emit_instruction_aos()
636 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_GREATER, src0, src1); in lp_emit_instruction_aos()
649 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_LEQUAL, src0, src1); in lp_emit_instruction_aos()
656 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_NOTEQUAL, src0, src1); in lp_emit_instruction_aos()
718 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_LESS, src0, bld->bld_base.base.zero); in lp_emit_instruction_aos()
Dlp_bld_sample.c792 *out_lod_positive = lp_build_cmp(lodf_bld, PIPE_FUNC_GREATER, in lp_build_lod_selector()
806 *out_lod_positive = lp_build_cmp(lodf_bld, PIPE_FUNC_GREATER, in lp_build_lod_selector()
871 *out_lod_positive = lp_build_cmp(lodf_bld, PIPE_FUNC_GREATER, in lp_build_lod_selector()
925 out = lp_build_cmp(leveli_bld, PIPE_FUNC_LESS, level, first_level); in lp_build_nearest_mip_level()
926 out1 = lp_build_cmp(leveli_bld, PIPE_FUNC_GREATER, level, last_level); in lp_build_nearest_mip_level()
1504 sel = lp_build_cmp(ivec_bld, PIPE_FUNC_EQUAL, face, c5); in lp_build_cube_new_coords()
1506 sel_f2345 = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, face, ivec_bld->one); in lp_build_cube_new_coords()
1513 sel_f23 = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, tmp, ivec_bld->one); in lp_build_cube_new_coords()
1530 sel_f2 = lp_build_cmp(ivec_bld, PIPE_FUNC_EQUAL, face, c2); in lp_build_cube_new_coords()
1540 sel_fand1 = lp_build_cmp(ivec_bld, PIPE_FUNC_EQUAL, faceand1, ivec_bld->one); in lp_build_cube_new_coords()
[all …]
Dlp_bld_logic.h61 lp_build_cmp(struct lp_build_context *bld,
Dlp_bld_format_float.c358 isdenorm = lp_build_cmp(&i32_bld, PIPE_FUNC_LESS, srcabs, exp_one); in lp_build_smallfloat_to_float()
361 wasinfnan = lp_build_cmp(&i32_bld, PIPE_FUNC_GEQUAL, srcabs, smallexpmask); in lp_build_smallfloat_to_float()
Dlp_bld_logic.c238 lp_build_cmp(struct lp_build_context *bld, in lp_build_cmp() function
Dlp_bld_tgsi_soa.c598 casemask = lp_build_cmp(mask->bld, PIPE_FUNC_EQUAL, caseval, ctx->switch_val); in lp_exec_case()
2693 …chan_mask = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_GEQUAL, terms[chan_index], bld->bld_base.b… in emit_kill_if()
3349 LLVMValueRef max_mask = lp_build_cmp(int_bld, PIPE_FUNC_LESS, in clamp_mask_to_max_output_vertices()
3405 LLVMValueRef emitted_mask = lp_build_cmp(uint_bld, PIPE_FUNC_NOTEQUAL, in end_primitive_masked()
3501 tmp = lp_build_cmp(&bld_base->base, PIPE_FUNC_NOTEQUAL, in if_emit()
3516 tmp = lp_build_cmp(uint_bld, PIPE_FUNC_NOTEQUAL, in uif_emit()
Dlp_bld_format_aos.c169 result = lp_build_cmp(&bld, PIPE_FUNC_EQUAL, src, in scale_bits_up()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_alpha.c87 test = lp_build_cmp(&bld, func, alpha, ref); in lp_build_alpha_test()
Dlp_bld_blend.c333 test = lp_build_cmp(&bld, PIPE_FUNC_GREATER, alpha, alpha_ref_value); in lp_build_alpha_to_coverage()
Dlp_bld_depth.c120 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals); in lp_build_stencil_test_single()
1062 z_pass = lp_build_cmp(&z_bld, depth->func, z_src, z_dst); in lp_build_depth_stencil_test()
Dlp_state_fs.c536 smask = lp_build_cmp(&smask_bld, PIPE_FUNC_NOTEQUAL, smask, smask_bld.zero); in generate_fs_loop()