Home
last modified time | relevance | path

Searched refs:level_count (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/gallium/frontends/nine/
Dtexture9.c162 level_offsets = alloca(sizeof(unsigned) * This->base.level_count); in NineTexture9_ctor()
165 This->base.level_count-1); in NineTexture9_ctor()
167 level_offsets = alloca(sizeof(unsigned) * This->base.level_count); in NineTexture9_ctor()
171 This->base.level_count-1)); in NineTexture9_ctor()
177 This->surfaces = CALLOC(This->base.level_count, sizeof(*This->surfaces)); in NineTexture9_ctor()
192 for (l = 0; l < This->base.level_count; ++l) { in NineTexture9_ctor()
230 for (l = 0; l < This->base.level_count; ++l) in NineTexture9_dtor()
253 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineTexture9_GetLevelDesc()
268 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineTexture9_GetSurfaceLevel()
287 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineTexture9_LockRect()
[all …]
Dcubetexture9.c120 level_offsets = alloca(sizeof(unsigned) * This->base.level_count); in NineCubeTexture9_ctor()
123 This->base.level_count-1); in NineCubeTexture9_ctor()
129 This->surfaces = CALLOC(6 * This->base.level_count, sizeof(*This->surfaces)); in NineCubeTexture9_ctor()
149 for (l = 0; l < This->base.level_count; l++) { in NineCubeTexture9_ctor()
181 for (i = 0; i < This->base.level_count * 6; ++i) in NineCubeTexture9_dtor()
204 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineCubeTexture9_GetLevelDesc()
222 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineCubeTexture9_GetCubeMapSurface()
244 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineCubeTexture9_LockRect()
259 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineCubeTexture9_UnlockRect()
Dvolumetexture9.c110 This->volumes = CALLOC(This->base.level_count, sizeof(*This->volumes)); in NineVolumeTexture9_ctor()
118 for (l = 0; l < This->base.level_count; ++l) { in NineVolumeTexture9_ctor()
144 for (l = 0; l < This->base.level_count; ++l) in NineVolumeTexture9_dtor()
158 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineVolumeTexture9_GetLevelDesc()
170 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineVolumeTexture9_GetVolumeLevel()
188 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineVolumeTexture9_LockBox()
200 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineVolumeTexture9_UnlockBox()
Dbasetexture9.c71 This->level_count = (Usage & D3DUSAGE_AUTOGENMIPMAP) ? 1 : (This->base.info.last_level+1); in NineBaseTexture9_ctor()
124 This->managed.lod = MIN2(LODNew, This->level_count-1); in NineBaseTexture9_SetLOD()
145 return This->level_count; in NineBaseTexture9_GetLevelCount()
208 This->managed.lod_resident = This->level_count; in NineBaseTexture9_UploadSelf()
221 for (l = 0; l < This->level_count; ++l) in NineBaseTexture9_UploadSelf()
228 for (l = 0; l < This->level_count; ++l) { in NineBaseTexture9_UploadSelf()
237 for (l = 0; l < This->level_count; ++l) in NineBaseTexture9_UploadSelf()
264 for (l = min_level_dirty; l < This->level_count; ++l) { in NineBaseTexture9_UploadSelf()
285 for (l = min_level_dirty; l < This->level_count; ++l) { in NineBaseTexture9_UploadSelf()
303 for (l = min_level_dirty; l < This->level_count; ++l) { in NineBaseTexture9_UploadSelf()
Dbasetexture9.h51 unsigned level_count; member
/third_party/boost/libs/locale/src/icu/
Dcollator.cpp37 else if(level >= level_count) in limit()
38 level = static_cast<level_type>(level_count - 1); in limit()
128 static const icu::Collator::ECollationStrength levels[level_count] = in get_collator()
153 static const int level_count = 5; member in boost::locale::impl_icu::collate_impl
156 mutable boost::thread_specific_ptr<icu::Collator> collates_[level_count];
/third_party/mesa3d/src/panfrost/lib/
Dpan_tiler.c269 unsigned level_count = bytes_per_tile * tile_count; in panfrost_hierarchy_size() local
271 size += level_count; in panfrost_hierarchy_size()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_image.c116 unsigned level_count = in panvk_per_arch() local
127 view->pview.last_level = pCreateInfo->subresourceRange.baseMipLevel + level_count - 1; in panvk_per_arch()
/third_party/mesa3d/src/vulkan/util/
Dvk_image.h198 uint32_t level_count; member
Dvk_image.c387 image_view->level_count = vk_image_subresource_level_count(image, range); in vk_image_view_init()
394 assert(image_view->base_mip_level + image_view->level_count in vk_image_view_init()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_image.c352 A6XX_TEX_CONST_3_MIN_LAYERSZ(layout->slices[image->level_count - 1].size0); in tu_image_view_init()
420 (fmt.tile_mode == TILE6_LINEAR && range->baseMipLevel != image->level_count - 1); in tu_image_view_init()
578 image->level_count = pCreateInfo->mipLevels; in tu_CreateImage()
785 assert(image->level_count == 1 && image->layer_count == 1); in tu_GetImageSubresourceLayout()
Dtu_private.h1400 uint32_t level_count; member
1436 ? image->level_count - range->baseMipLevel in tu_get_levelCount()
Dtu_clear_blit.c1760 .level_count = 1, in tu_copy_image_to_image()
1783 staging_image.level_count, in tu_copy_image_to_image()
2098 uint32_t level_count = tu_get_levelCount(image, range); in clear_image() local
2119 for (unsigned j = 0; j < level_count; j++) { in clear_image()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_clear.c994 uint32_t last_level = iview->base_mip + iview->level_count - 1; in radv_can_fast_clear_depth()
1028 .levelCount = iview->level_count, in radv_fast_clear_depth()
1462 uint32_t level_count = radv_get_levelCount(image, range); in radv_clear_dcc() local
1469 for (uint32_t l = 0; l < level_count; l++) { in radv_clear_dcc()
1625 uint32_t level_count = radv_get_levelCount(image, range); in radv_clear_htile() local
1631 if (level_count != image->info.levels) { in radv_clear_htile()
1635 for (uint32_t l = 0; l < level_count; l++) { in radv_clear_htile()
1826 uint32_t last_level = iview->base_mip + iview->level_count - 1; in radv_can_fast_clear_color()
1832 for (uint32_t l = 0; l < iview->level_count; l++) { in radv_can_fast_clear_color()
1861 .levelCount = iview->level_count, in radv_fast_clear_color()
Dradv_cmd_buffer.c1825 .levelCount = iview->level_count, in radv_emit_fb_color_state()
2022 uint32_t level_count = radv_get_levelCount(image, range); in radv_set_ds_clear_metadata() local
2028 radeon_emit(cs, PKT3(PKT3_WRITE_DATA, 2 + 2 * level_count, cmd_buffer->state.predicating)); in radv_set_ds_clear_metadata()
2033 for (uint32_t l = 0; l < level_count; l++) { in radv_set_ds_clear_metadata()
2039 for (uint32_t l = 0; l < level_count; l++) { in radv_set_ds_clear_metadata()
2074 uint32_t level_count = radv_get_levelCount(image, range); in radv_set_tc_compat_zrange_metadata() local
2076 radeon_emit(cs, PKT3(PKT3_WRITE_DATA, 2 + level_count, cmd_buffer->state.predicating)); in radv_set_tc_compat_zrange_metadata()
2081 for (uint32_t l = 0; l < level_count; l++) in radv_set_tc_compat_zrange_metadata()
2093 .levelCount = iview->level_count, in radv_update_tc_compat_zrange_metadata()
2118 .levelCount = iview->level_count, in radv_update_ds_clear_metadata()
[all …]
Dradv_image.c1839 hw_level + iview->level_count - 1, iview->base_layer, in radv_image_view_make_descriptor()
1960 iview->level_count = radv_get_levelCount(image, range); in radv_image_view_init()
2034 if (iview->level_count > 1) { in radv_image_view_init()
Dradv_meta_resolve.c704 .levelCount = dest_iview->level_count, in radv_cmd_buffer_resolve_subpass_hw()
Dradv_private.h2278 uint32_t level_count; member
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_image.c96 image_view->vk.level_count - 1; in pack_texture_shader_state_helper()
Dv3dv_meta_clear.c91 uint32_t level_count = vk_image_subresource_level_count(&image->vk, range); in clear_image_tlb() local
93 uint32_t max_level = range->baseMipLevel + level_count; in clear_image_tlb()
Dv3dv_uniforms.c331 return image_view->vk.level_count; in get_texture_size_from_image_view()
/third_party/mesa3d/src/intel/vulkan/
Danv_blorp.c1059 uint32_t level_count = in anv_CmdClearColorImage() local
1062 for (uint32_t i = 0; i < level_count; i++) { in anv_CmdClearColorImage()
1138 uint32_t level_count = in anv_CmdClearDepthStencilImage() local
1141 for (uint32_t i = 0; i < level_count; i++) { in anv_CmdClearDepthStencilImage()
1532 uint32_t base_level, uint32_t level_count, in anv_image_copy_to_shadow() argument
1560 for (uint32_t l = 0; l < level_count; l++) { in anv_image_copy_to_shadow()
DgenX_cmd_buffer.c501 uint32_t base_level, uint32_t level_count, in anv_image_init_aux_tt() argument
530 for (uint32_t l = 0; l < level_count; l++) { in anv_image_init_aux_tt()
682 uint32_t base_level, uint32_t level_count, in transition_stencil_buffer() argument
713 base_level, level_count, in transition_stencil_buffer()
727 base_level, level_count, base_layer, layer_count); in transition_stencil_buffer()
735 for (uint32_t l = 0; l < level_count; l++) { in transition_stencil_buffer()
1160 const uint32_t base_level, uint32_t level_count, in transition_color_buffer() argument
1174 assert(level_count != VK_REMAINING_MIP_LEVELS && in transition_color_buffer()
1177 UNUSED uint64_t last_level_num = base_level + level_count; in transition_color_buffer()
1238 base_level, level_count, in transition_color_buffer()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_state_derived.c795 unsigned base_level, min_level, level_count, i, j, size; in r300_merge_textures_and_samplers() local
830 level_count = MIN3(sampler->max_lod, in r300_merge_textures_and_samplers()
930 texstate->format.format0 |= R300_TX_NUM_LEVELS(level_count); in r300_merge_textures_and_samplers()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c2894 uint32_t level_count = lvp_get_levelCount(image, range); in handle_clear_color_image() local
2895 for (unsigned j = range->baseMipLevel; j < range->baseMipLevel + level_count; j++) { in handle_clear_color_image()
2928 uint32_t level_count = lvp_get_levelCount(image, range); in handle_clear_ds_image() local
2929 for (unsigned j = 0; j < level_count; j++) { in handle_clear_ds_image()

12