Home
last modified time | relevance | path

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

12345

/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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 …]
/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 …]
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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()
/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()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_llvm.h48 uint32_t first_level; member
295 uint32_t first_level, uint32_t last_level,
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h48 uint32_t first_level; member
295 uint32_t first_level, uint32_t last_level,
/external/chromium_org/third_party/mesa/src/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 …]

12345