/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tex_validate.c | 31 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()
|
D | intel_tex_obj.h | 42 unsigned int _MaxLevel; member
|
D | i915_texstate.c | 192 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()
|
D | i830_texstate.c | 265 maxlod = MIN2(sampler->Attrib.MaxLod, tObj->_MaxLevel - tObj->Attrib.BaseLevel); in i830_update_tex_unit()
|
D | intel_screen.c | 410 if (level < obj->Attrib.BaseLevel || level > obj->_MaxLevel) { in intel_create_image_from_texture()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_tex_validate.c | 54 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()
|
D | brw_tex_obj.h | 43 unsigned int _MaxLevel; member
|
D | brw_generate_mipmap.c | 64 intel_obj->_MaxLevel = last_level; in brw_generate_mipmap()
|
D | brw_draw.c | 549 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()
|
D | brw_wm_surface_state.c | 591 .levels = intel_obj->_MaxLevel - obj->Attrib.BaseLevel + 1, in brw_update_texture_surface()
|
D | brw_screen.c | 622 if (level < obj->Attrib.BaseLevel || level > obj->_MaxLevel) { in brw_create_image_from_texture()
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_texfilter.c | 639 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/ |
D | radeon_mipmap_tree.c | 323 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/ |
D | radeon_mipmap_tree.c | 323 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/ |
D | texobj.c | 715 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()
|
D | shaderimage.c | 472 u->Level > t->_MaxLevel || in _mesa_is_image_unit_valid()
|
D | mtypes.h | 981 GLbyte _MaxLevel; /**< actual max mipmap level (q in the spec) */ member
|
/third_party/mesa3d/docs/relnotes/ |
D | 19.3.3.rst | 198 - mesa: Prevent \_MaxLevel from being less than zero
|
D | 20.0.0.rst | 3322 - mesa: Prevent \_MaxLevel from being less than zero
|
/third_party/mesa3d/src/gallium/frontends/dri/ |
D | dri_helpers.c | 395 if (level < obj->Attrib.BaseLevel || level > obj->_MaxLevel) { in dri2_create_from_texture()
|
D | dri2.c | 2011 if (in->miplevel < obj->Attrib.BaseLevel || in->miplevel > obj->_MaxLevel) { in dri2_interop_export_object()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_sampler_view.c | 486 unsigned ret = MIN2(stObj->base.Attrib.MinLevel + stObj->base._MaxLevel, in last_level()
|
D | st_cb_texture.c | 2998 stObj->lastLevel = stObj->base._MaxLevel; in st_finalize_texture()
|