Home
last modified time | relevance | path

Searched refs:samp0 (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_linear_fastpath.c202 struct lp_sampler_static_state *samp0 = lp_fs_variant_key_sampler_idx(&variant->key, 0); in lp_linear_check_fastpath() local
204 if (!samp0) in lp_linear_check_fastpath()
207 enum pipe_format tex_format = samp0->texture_state.format; in lp_linear_check_fastpath()
210 is_nearest_clamp_sampler(samp0) && in lp_linear_check_fastpath()
219 is_nearest_clamp_sampler(samp0)) { in lp_linear_check_fastpath()
Dlp_state_fs_linear.c670 struct lp_sampler_static_state *samp0 = lp_fs_variant_key_sampler_idx(&variant->key, 0); in llvmpipe_fs_variant_linear_fastpath() local
677 if (!samp0) in llvmpipe_fs_variant_linear_fastpath()
680 enum pipe_format tex_format = samp0->texture_state.format; in llvmpipe_fs_variant_linear_fastpath()
683 is_nearest_clamp_sampler(samp0)) { in llvmpipe_fs_variant_linear_fastpath()
699 is_nearest_clamp_sampler(samp0)) { in llvmpipe_fs_variant_linear_fastpath()
Dlp_setup_rect.c176 … ASSERTED struct lp_sampler_static_state *samp0 = lp_fs_variant_key_sampler_idx(&variant->key, 0); in lp_setup_is_blit() local
177 assert(samp0); in lp_setup_is_blit()
178 assert(samp0->sampler_state.min_img_filter == PIPE_TEX_FILTER_NEAREST); in lp_setup_is_blit()
179 assert(samp0->sampler_state.mag_img_filter == PIPE_TEX_FILTER_NEAREST); in lp_setup_is_blit()
Dlp_state_fs.c3662 struct lp_sampler_static_state *samp0 = lp_fs_variant_key_sampler_idx(key, 0); in generate_variant() local
3663 assert(samp0); in generate_variant()
3664 texture_format = samp0->texture_state.format; in generate_variant()
3665 target = samp0->texture_state.target; in generate_variant()
3666 min_img_filter = samp0->sampler_state.min_img_filter; in generate_variant()
3667 mag_img_filter = samp0->sampler_state.mag_img_filter; in generate_variant()
3668 if (samp0->texture_state.level_zero_only) { in generate_variant()
3671 min_mip_filter = samp0->sampler_state.min_mip_filter; in generate_variant()
4352 struct lp_sampler_static_state *samp0 = lp_fs_variant_key_sampler_idx(key, 0); in make_variant_key() local
4353 assert(samp0); in make_variant_key()
[all …]
/third_party/flutter/skia/src/gpu/
DGrPrimitiveProcessor.h230 static const TextureSampler& IthTextureSampler(int i, const TextureSampler& samp0, in IthTextureSampler() argument
232 return (0 == i) ? samp0 : IthTextureSampler(i - 1, samps...); in IthTextureSampler()
DGrFragmentProcessor.h351 static const TextureSampler& IthTextureSampler(int i, const TextureSampler& samp0, in IthTextureSampler() argument
353 return (0 == i) ? samp0 : IthTextureSampler(i - 1, samps...); in IthTextureSampler()
/third_party/skia/src/gpu/
DGrGeometryProcessor.h257 static const TextureSampler& IthTextureSampler(int i, const TextureSampler& samp0, in IthTextureSampler() argument
259 return (0 == i) ? samp0 : IthTextureSampler(i - 1, samps...); in IthTextureSampler()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c4458 LLVMValueRef img7, samp0; in sici_fix_sampler_aniso() local
4464 samp0 = LLVMBuildExtractElement(builder, samp, LLVMConstInt(ctx->ac.i32, 0, 0), ""); in sici_fix_sampler_aniso()
4465 samp0 = LLVMBuildAnd(builder, samp0, img7, ""); in sici_fix_sampler_aniso()
4466 return LLVMBuildInsertElement(builder, samp, samp0, LLVMConstInt(ctx->ac.i32, 0, 0), ""); in sici_fix_sampler_aniso()