Home
last modified time | relevance | path

Searched refs:first_level (Results 1 – 25 of 52) sorted by relevance

123

/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_tex_layout.c128 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_cube()
142 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_cube()
147 face, level, mt->first_level, mt->last_level); in i915_miptree_layout_cube()
169 for (level = mt->first_level; level <= MAX2(8, mt->last_level); level++) { in i915_miptree_layout_3d()
182 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_3d()
210 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_2d()
337 for (level = mt->first_level; level <= mt->last_level; level++) { in i945_miptree_layout_cube()
353 } else if (dim < 4 && (face > 0 || mt->first_level > 0)) { in i945_miptree_layout_cube()
358 for (level = mt->first_level; level <= mt->last_level; level++) { in i945_miptree_layout_cube()
419 for (level = mt->first_level; level <= mt->last_level; level++) { in i945_miptree_layout_3d()
Dintel_tex_layout.c161 if (mt->first_level != mt->last_level) { in i945_miptree_layout_2d()
179 for ( level = mt->first_level ; level <= mt->last_level ; level++ ) { in i945_miptree_layout_2d()
196 if (level == mt->first_level + 1) { in i945_miptree_layout_2d()
Dintel_mipmap_tree.c78 GLuint first_level, in intel_miptree_create_internal() argument
93 first_level, last_level, mt); in intel_miptree_create_internal()
100 mt->first_level = first_level; in intel_miptree_create_internal()
142 mt->first_level, in intel_miptree_create_internal()
190 GLuint first_level, in intel_miptree_create() argument
236 first_level, last_level, width0, in intel_miptree_create()
803 mt->first_level, in intel_miptree_alloc_mcs()
839 mt->first_level, in intel_miptree_alloc_hiz()
853 for (int level = mt->first_level; level <= mt->last_level; ++level) { in intel_miptree_alloc_hiz()
1015 assert(mt->first_level == 0); in assert_is_flat()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c204 LLVMValueRef first_level, first_level_vec; in lp_build_rho() local
266 first_level = bld->dynamic_state->first_level(bld->dynamic_state, in lp_build_rho()
268 first_level_vec = lp_build_broadcast_scalar(&bld->int_size_bld, first_level); in lp_build_rho()
631 LLVMValueRef first_level, last_level, level; in lp_build_nearest_mip_level() local
633 first_level = bld->dynamic_state->first_level(bld->dynamic_state, in lp_build_nearest_mip_level()
637 first_level = lp_build_broadcast_scalar(perquadi_bld, first_level); in lp_build_nearest_mip_level()
640 level = lp_build_add(perquadi_bld, lod_ipart, first_level); in lp_build_nearest_mip_level()
643 *level_out = lp_build_clamp(perquadi_bld, level, first_level, last_level); in lp_build_nearest_mip_level()
663 LLVMValueRef first_level, last_level; in lp_build_linear_mip_levels() local
667 first_level = bld->dynamic_state->first_level(bld->dynamic_state, in lp_build_linear_mip_levels()
[all …]
Dlp_bld_sample_soa.c999 LLVMValueRef first_level; in lp_build_sample_common() local
1059 first_level = bld->dynamic_state->first_level(bld->dynamic_state, in lp_build_sample_common()
1061 first_level = lp_build_broadcast_scalar(&bld->perquadi_bld, first_level); in lp_build_sample_common()
1062 *ilevel0 = first_level; in lp_build_sample_common()
1596 LLVMValueRef first_level; in lp_build_size_query_soa() local
1598 first_level = dynamic_state->first_level(dynamic_state, gallivm, unit); in lp_build_size_query_soa()
1600 LLVMBuildAdd(gallivm->builder, lod, first_level, "lod")); in lp_build_size_query_soa()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_layout.c161 if (mt->first_level != mt->last_level) { in i945_miptree_layout_2d()
179 for ( level = mt->first_level ; level <= mt->last_level ; level++ ) { in i945_miptree_layout_2d()
196 if (level == mt->first_level + 1) { in i945_miptree_layout_2d()
Dintel_mipmap_tree.h212 GLuint first_level; member
375 GLuint first_level,
417 assert(level >= mt->first_level); in intel_miptree_check_level_layer()
Dintel_mipmap_tree.c78 GLuint first_level, in intel_miptree_create_internal() argument
93 first_level, last_level, mt); in intel_miptree_create_internal()
100 mt->first_level = first_level; in intel_miptree_create_internal()
142 mt->first_level, in intel_miptree_create_internal()
190 GLuint first_level, in intel_miptree_create() argument
236 first_level, last_level, width0, in intel_miptree_create()
803 mt->first_level, in intel_miptree_alloc_mcs()
839 mt->first_level, in intel_miptree_alloc_hiz()
853 for (int level = mt->first_level; level <= mt->last_level; ++level) { in intel_miptree_alloc_hiz()
1015 assert(mt->first_level == 0); in assert_is_flat()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_layout.c161 if (mt->first_level != mt->last_level) { in i945_miptree_layout_2d()
179 for ( level = mt->first_level ; level <= mt->last_level ; level++ ) { in i945_miptree_layout_2d()
196 if (level == mt->first_level + 1) { in i945_miptree_layout_2d()
Dbrw_tex_layout.c61 for (level = mt->first_level; level <= mt->last_level; level++) { in brw_miptree_layout_texture_array()
107 for (level = mt->first_level ; level <= mt->last_level ; level++) { in brw_miptree_layout()
Dintel_mipmap_tree.c78 GLuint first_level, in intel_miptree_create_internal() argument
93 first_level, last_level, mt); in intel_miptree_create_internal()
100 mt->first_level = first_level; in intel_miptree_create_internal()
142 mt->first_level, in intel_miptree_create_internal()
190 GLuint first_level, in intel_miptree_create() argument
236 first_level, last_level, width0, in intel_miptree_create()
803 mt->first_level, in intel_miptree_alloc_mcs()
839 mt->first_level, in intel_miptree_alloc_hiz()
853 for (int level = mt->first_level; level <= mt->last_level; ++level) { in intel_miptree_alloc_hiz()
1015 assert(mt->first_level == 0); in assert_is_flat()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_dirty_surfaces.h89 …_dirty_surfaces_use_levels_for_sampling(pipe, dss, (unsigned)pss->min_lod + psv->u.tex.first_level, in util_dirty_surfaces_use_for_sampling_with()
90 MIN2((unsigned)ceilf(pss->max_lod) + psv->u.tex.first_level, psv->u.tex.last_level), flush); in util_dirty_surfaces_use_for_sampling_with()
Du_sampler.c49 view->u.tex.first_level = 0; in default_template()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h48 uint32_t first_level; member
295 uint32_t first_level, uint32_t last_level,
Ddraw_llvm_sample.c147 DRAW_LLVM_TEXTURE_MEMBER(first_level,DRAW_JIT_TEXTURE_FIRST_LEVEL, TRUE) in DRAW_LLVM_TEXTURE_MEMBER()
237 sampler->dynamic_state.base.first_level = draw_llvm_texture_first_level; in draw_llvm_sampler_soa_create()
Ddraw_context.h156 uint32_t first_level, uint32_t last_level,
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c496 float rho = MAX2(dsdx, dsdy) * u_minify(texture->width0, samp->view->u.tex.first_level); in compute_lambda_1d()
513 float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, samp->view->u.tex.first_level); in compute_lambda_2d()
514 float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, samp->view->u.tex.first_level); in compute_lambda_2d()
534 float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, samp->view->u.tex.first_level); in compute_lambda_3d()
535 float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, samp->view->u.tex.first_level); in compute_lambda_3d()
536 float maxz = MAX2(dpdx, dpdy) * u_minify(texture->depth0, samp->view->u.tex.first_level); in compute_lambda_3d()
1474 int level0 = samp->view->u.tex.first_level + (int)lod[j]; in mip_filter_linear()
1477 …samp->mag_img_filter(tgsi_sampler, s[j], t[j], p[j], samp->view->u.tex.first_level, samp->faces[j]… in mip_filter_linear()
1532 …samp->mag_img_filter(tgsi_sampler, s[j], t[j], p[j], samp->view->u.tex.first_level, samp->faces[j]… in mip_filter_nearest()
1534 float level = samp->view->u.tex.first_level + (int)(lod[j] + 0.5F) ; in mip_filter_nearest()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c152 LP_LLVM_TEXTURE_MEMBER(first_level, LP_JIT_TEXTURE_FIRST_LEVEL, TRUE) in LP_LLVM_TEXTURE_MEMBER()
247 sampler->dynamic_state.base.first_level = lp_llvm_texture_first_level; in lp_llvm_sampler_soa_create()
Dlp_state_sampler.c279 for (j = view->u.tex.first_level; j <= tex->last_level; j++) { in llvmpipe_prepare_vertex_sampling()
304 view->u.tex.first_level, tex->last_level, in llvmpipe_prepare_vertex_sampling()
Dlp_jit.h54 uint32_t first_level; member
Dlp_setup.c657 jit_tex->first_level = view->u.tex.first_level; in lp_setup_set_fragment_sampler_views()
668 for (j = view->u.tex.first_level; j <= tex->last_level; j++) { in lp_setup_set_fragment_sampler_views()
682 jit_tex->first_level = 0; in lp_setup_set_fragment_sampler_views()
Dlp_jit.c88 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, first_level, in lp_jit_create_types()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c133 unsigned first_level, unsigned last_level, in r600_blit_decompress_depth() argument
172 for (level = first_level; level <= last_level; level++) { in r600_blit_decompress_depth()
249 view->u.tex.first_level, view->u.tex.last_level, in r600_decompress_depth_textures()
250 0, u_max_layer(&tex->resource.b.b, view->u.tex.first_level), in r600_decompress_depth_textures()
257 unsigned first_level, unsigned last_level, in r600_blit_decompress_color() argument
268 for (level = first_level; level <= last_level; level++) { in r600_blit_decompress_color()
329 view->u.tex.first_level, view->u.tex.last_level, in r600_decompress_color_textures()
330 0, u_max_layer(&tex->resource.b.b, view->u.tex.first_level)); in r600_decompress_color_textures()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c155 templ.u.tex.first_level = stObj->base.BaseLevel; in st_create_texture_sampler_view_from_stobj()
245 stObj->base.BaseLevel != stObj->sampler_view->u.tex.first_level) { in update_single_texture()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_tss.c89 min_lod = MAX2(0, (s->view_min_lod + sv->u.tex.first_level)); in update_tss_binding()
90 max_lod = MIN2(s->view_max_lod + sv->u.tex.first_level, in update_tss_binding()

123