Home
last modified time | relevance | path

Searched refs:explicit_lod (Results 1 - 10 of 10) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_soa.c2530 LLVMValueRef explicit_lod, /* optional */ in lp_build_sample_common()
2560 !explicit_lod); in lp_build_sample_common()
2621 derivs, lod_bias, explicit_lod, in lp_build_sample_common()
3100 LLVMValueRef explicit_lod, in lp_build_fetch_texel()
3117 if (explicit_lod && bld->static_texture_state->target != PIPE_BUFFER) { in lp_build_fetch_texel()
3120 perquadi_bld->type, explicit_lod, 0); in lp_build_fetch_texel()
3123 ilevel = explicit_lod; in lp_build_fetch_texel()
3342 LLVMValueRef explicit_lod = NULL; in lp_build_sample_soa_code() local
3349 explicit_lod = lod; in lp_build_sample_soa_code()
3393 if (!(gallivm_perf & GALLIVM_PERF_BRILINEAR) || op_is_lodq || lod_bias || explicit_lod) { in lp_build_sample_soa_code()
2523 lp_build_sample_common(struct lp_build_sample_context *bld, boolean is_lodq, unsigned texture_index, unsigned sampler_index, LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *lod_pos_or_zero, LLVMValueRef *lod, LLVMValueRef *lod_fpart, LLVMValueRef *ilevel0, LLVMValueRef *ilevel1) lp_build_sample_common() argument
3096 lp_build_fetch_texel(struct lp_build_sample_context *bld, unsigned texture_unit, LLVMValueRef ms_index, const LLVMValueRef *coords, LLVMValueRef explicit_lod, const LLVMValueRef *offsets, LLVMValueRef *colors_out) lp_build_fetch_texel() argument
[all...]
H A Dlp_bld_sample.h134 LLVMValueRef explicit_lod; member
593 LLVMValueRef explicit_lod, /* optional */
H A Dlp_bld_nir.c2224 LLVMValueRef explicit_lod = NULL; in visit_txs() local
2229 explicit_lod = cast_type(bld_base, in visit_txs()
2243 params.explicit_lod = explicit_lod; in visit_txs()
2250 params.explicit_lod = bld_base->uint_bld.zero; in visit_txs()
2284 LLVMValueRef explicit_lod = NULL, ms_index = NULL; in visit_tex() local
2339 explicit_lod = cast_type(bld_base, get_src(bld_base, instr->src[i].src), nir_type_float, 32); in visit_tex()
2345 explicit_lod = cast_type(bld_base, get_src(bld_base, instr->src[i].src), nir_type_int, 32); in visit_tex()
2347 explicit_lod = cast_type(bld_base, get_src(bld_base, instr->src[i].src), nir_type_float, 32); in visit_tex()
2414 if (explicit_lod) in visit_tex()
[all...]
H A Dlp_bld_sample.c820 * \param explicit_lod optional float vector with the explicit lod
839 LLVMValueRef explicit_lod, /* optional */ in lp_build_lod_selector()
886 if (explicit_lod) { in lp_build_lod_selector()
889 lodf_bld->type, explicit_lod, 0); in lp_build_lod_selector()
891 lod = explicit_lod; in lp_build_lod_selector()
899 !explicit_lod) { in lp_build_lod_selector()
829 lp_build_lod_selector(struct lp_build_sample_context *bld, boolean is_lodq, unsigned texture_unit, unsigned sampler_unit, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef cube_rho, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, enum pipe_tex_mipfilter mip_filter, LLVMValueRef max_aniso, LLVMValueRef *out_lod, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart, LLVMValueRef *out_lod_positive) lp_build_lod_selector() argument
H A Dlp_bld_tgsi_soa.c2468 LLVMValueRef explicit_lod = NULL; in emit_fetch_texels() local
2530 explicit_lod = lp_build_emit_fetch(&bld->bld_base, inst, 0, 3); in emit_fetch_texels()
2578 params.lod = explicit_lod; in emit_fetch_texels()
2607 LLVMValueRef explicit_lod; in emit_size_query() local
2641 explicit_lod = lp_build_emit_fetch(&bld->bld_base, inst, 0, 0); in emit_size_query()
2645 explicit_lod = NULL; in emit_size_query()
2658 params.explicit_lod = explicit_lod; in emit_size_query()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
H A Dcodegen.h115 bool explicit_lod : 1; member
H A Dcodegen.c153 f->explicit_lod = ldtex->explicit_lod; in ppir_codegen_encode_texld()
H A Dppir.h325 bool explicit_lod; member
H A Dnir.c523 node->explicit_lod = (instr->src[i].src_type == nir_tex_src_lod); in ppir_emit_tex()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c43 bool explicit_lod; //whether to set lod=0 for texture() member
3512 tex->op == nir_texop_tex && ctx->explicit_lod && !lod) in emit_tex()
4198 ctx.explicit_lod = true; in nir_to_spirv()

Completed in 33 milliseconds