Home
last modified time | relevance | path

Searched refs:_MaxLevel (Results 1 – 23 of 23) sorted by relevance

/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_validate.c31 maxlevel = tObj->_MaxLevel; in intel_update_max_level()
34 if (intelObj->_MaxLevel != maxlevel) { in intel_update_max_level()
35 intelObj->_MaxLevel = maxlevel; in intel_update_max_level()
84 intelObj->mt->last_level < intelObj->_MaxLevel)) { in intel_finalize_mipmap_tree()
98 width, height, depth, tObj->Attrib.BaseLevel, intelObj->_MaxLevel); in intel_finalize_mipmap_tree()
104 intelObj->_MaxLevel, in intel_finalize_mipmap_tree()
118 for (i = tObj->Attrib.BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_finalize_mipmap_tree()
Dintel_tex_obj.h42 unsigned int _MaxLevel; member
Di915_texstate.c192 maxlod = MIN2(sampler->Attrib.MaxLod, tObj->_MaxLevel - tObj->Attrib.BaseLevel); in i915_update_tex_unit()
355 minlod = MIN2(sampler->Attrib.MinLod, tObj->_MaxLevel - tObj->Attrib.BaseLevel); in i915_update_tex_unit()
Di830_texstate.c265 maxlod = MIN2(sampler->Attrib.MaxLod, tObj->_MaxLevel - tObj->Attrib.BaseLevel); in i830_update_tex_unit()
Dintel_screen.c410 if (level < obj->Attrib.BaseLevel || level > obj->_MaxLevel) { in intel_create_image_from_texture()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tex_validate.c54 brw_obj->_MaxLevel = tObj->Attrib.BaseLevel; in brw_update_max_level()
56 brw_obj->_MaxLevel = tObj->_MaxLevel; in brw_update_max_level()
82 int validate_last_level = brw_obj->_MaxLevel; in brw_finalize_mipmap_tree()
Dbrw_tex_obj.h43 unsigned int _MaxLevel; member
Dbrw_generate_mipmap.c64 intel_obj->_MaxLevel = last_level; in brw_generate_mipmap()
Dbrw_draw.c549 num_levels = MIN2(tex_obj->base.Attrib.NumLevels, tex_obj->_MaxLevel + 1); in brw_predraw_resolve_inputs()
555 num_levels = tex_obj->_MaxLevel - tex_obj->base.Attrib.BaseLevel + 1; in brw_predraw_resolve_inputs()
Dbrw_wm_surface_state.c591 .levels = intel_obj->_MaxLevel - obj->Attrib.BaseLevel + 1, in brw_update_texture_surface()
Dbrw_screen.c622 if (level < obj->Attrib.BaseLevel || level > obj->_MaxLevel) { in brw_create_image_from_texture()
/third_party/mesa3d/src/mesa/swrast/
Ds_texfilter.c639 if (level > tObj->_MaxLevel) in nearest_mipmap_level()
640 level = tObj->_MaxLevel; in nearest_mipmap_level()
959 if (level >= tObj->_MaxLevel) { in sample_1d_nearest_mipmap_linear()
960 sample_1d_nearest(ctx, samp, tObj->Image[0][tObj->_MaxLevel], in sample_1d_nearest_mipmap_linear()
985 if (level >= tObj->_MaxLevel) { in sample_1d_linear_mipmap_linear()
986 sample_1d_linear(ctx, samp, tObj->Image[0][tObj->_MaxLevel], in sample_1d_linear_mipmap_linear()
1289 if (level >= tObj->_MaxLevel) { in sample_2d_nearest_mipmap_linear()
1290 sample_2d_nearest(ctx, samp, tObj->Image[0][tObj->_MaxLevel], in sample_2d_nearest_mipmap_linear()
1315 if (level >= tObj->_MaxLevel) { in sample_2d_linear_mipmap_linear()
1316 sample_2d_linear(ctx, samp, tObj->Image[0][tObj->_MaxLevel], in sample_2d_linear_mipmap_linear()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c323 numLevels = MIN2(texObj->_MaxLevel - texObj->Attrib.BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
527 dst_miptree = get_biggest_matching_miptree(t, t->base.Attrib.BaseLevel, t->base._MaxLevel); in radeon_validate_texture_miptree()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c323 numLevels = MIN2(texObj->_MaxLevel - texObj->Attrib.BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
527 dst_miptree = get_biggest_matching_miptree(t, t->base.Attrib.BaseLevel, t->base._MaxLevel); in radeon_validate_texture_miptree()
/third_party/mesa3d/src/mesa/main/
Dtexobj.c715 t->_MaxLevel = MIN3(t->Attrib.MaxLevel, in _mesa_test_texobj_completeness()
725 t->_MaxLevel = MAX2(MIN2(t->_MaxLevel, t->Attrib.NumLevels - 1), 0); in _mesa_test_texobj_completeness()
729 t->_MaxLambda = (GLfloat) (t->_MaxLevel - baseLevel); in _mesa_test_texobj_completeness()
778 const GLint maxLevel = t->_MaxLevel; in _mesa_test_texobj_completeness()
Dshaderimage.c472 u->Level > t->_MaxLevel || in _mesa_is_image_unit_valid()
Dmtypes.h981 GLbyte _MaxLevel; /**< actual max mipmap level (q in the spec) */ member
/third_party/mesa3d/docs/relnotes/
D19.3.3.rst198 - mesa: Prevent \_MaxLevel from being less than zero
D20.0.0.rst3322 - mesa: Prevent \_MaxLevel from being less than zero
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_helpers.c395 if (level < obj->Attrib.BaseLevel || level > obj->_MaxLevel) { in dri2_create_from_texture()
Ddri2.c2011 if (in->miplevel < obj->Attrib.BaseLevel || in->miplevel > obj->_MaxLevel) { in dri2_interop_export_object()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c486 unsigned ret = MIN2(stObj->base.Attrib.MinLevel + stObj->base._MaxLevel, in last_level()
Dst_cb_texture.c2998 stObj->lastLevel = stObj->base._MaxLevel; in st_finalize_texture()