/third_party/mesa3d/src/gallium/frontends/nine/ |
D | texture9.c | 162 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 …]
|
D | cubetexture9.c | 120 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()
|
D | volumetexture9.c | 110 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()
|
D | basetexture9.c | 71 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()
|
D | basetexture9.h | 51 unsigned level_count; member
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_tiler.c | 268 unsigned level_count = bytes_per_tile * tile_count; in panfrost_hierarchy_size() local 270 size += level_count; in panfrost_hierarchy_size()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_image.h | 271 uint32_t level_count; member 308 .levelCount = view->level_count, in vk_image_view_subresource_range()
|
D | vk_image.c | 460 image_view->level_count = vk_image_subresource_level_count(image, range); in vk_image_view_init() 476 image_view->level_count - 1); in vk_image_view_init() 481 assert(image_view->base_mip_level + image_view->level_count in vk_image_view_init()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_image.c | 896 iview->srv_desc.Texture1DArray.MipLevels = iview->vk.level_count; in dzn_image_view_prepare_srv_desc() 902 iview->srv_desc.Texture1D.MipLevels = iview->vk.level_count; in dzn_image_view_prepare_srv_desc() 915 iview->srv_desc.Texture2DArray.MipLevels = iview->vk.level_count; in dzn_image_view_prepare_srv_desc() 924 iview->srv_desc.Texture2D.MipLevels = iview->vk.level_count; in dzn_image_view_prepare_srv_desc() 934 iview->srv_desc.TextureCubeArray.MipLevels = iview->vk.level_count; in dzn_image_view_prepare_srv_desc() 940 iview->srv_desc.TextureCube.MipLevels = iview->vk.level_count; in dzn_image_view_prepare_srv_desc() 947 iview->srv_desc.Texture3D.MipLevels = iview->vk.level_count; in dzn_image_view_prepare_srv_desc() 1018 assert(iview->vk.level_count == 1); in dzn_image_view_prepare_rtv_desc()
|
D | dzn_cmd_buffer.c | 162 uint32_t level_count = dzn_get_level_count(image, range); in dzn_cmd_buffer_queue_image_range_state_transition() local 167 barrier_count = level_count; in dzn_cmd_buffer_queue_image_range_state_transition() 170 barrier_count += level_count; in dzn_cmd_buffer_queue_image_range_state_transition() 219 uint32_t level_count = dzn_get_level_count(image, range); in dzn_cmd_buffer_queue_image_range_layout_transition() local 224 barrier_count = level_count; in dzn_cmd_buffer_queue_image_range_layout_transition() 227 barrier_count += level_count; in dzn_cmd_buffer_queue_image_range_layout_transition() 1312 uint32_t level_count = dzn_get_level_count(image, &ranges[r]); in dzn_cmd_buffer_clear_ranges_with_copy() local 1321 for (uint32_t lvl = 0; lvl < level_count; lvl++) { in dzn_cmd_buffer_clear_ranges_with_copy() 1508 uint32_t level_count = dzn_get_level_count(image, range); in dzn_cmd_buffer_clear_color() local 1514 for (uint32_t lvl = 0; lvl < level_count; lvl++) { in dzn_cmd_buffer_clear_color() [all …]
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_meta_clear.c | 362 unsigned level_count = vk_image_subresource_level_count(&img->vk, range); in panvk_meta_clear_color_img() local 366 level < range->baseMipLevel + level_count; level++) { in panvk_meta_clear_color_img() 438 unsigned level_count = vk_image_subresource_level_count(&img->vk, range); in panvk_meta_clear_zs_img() local 442 level < range->baseMipLevel + level_count; level++) { in panvk_meta_clear_zs_img()
|
D | panvk_vX_image.c | 112 view->vk.level_count - 1, in panvk_per_arch()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_clear.c | 850 uint32_t last_level = iview->vk.base_mip_level + iview->vk.level_count - 1; in radv_can_fast_clear_depth() 884 .levelCount = iview->vk.level_count, in radv_fast_clear_depth() 1301 uint32_t level_count = radv_get_levelCount(image, range); in radv_clear_dcc() local 1308 for (uint32_t l = 0; l < level_count; l++) { in radv_clear_dcc() 1466 uint32_t level_count = radv_get_levelCount(image, range); in radv_clear_htile() local 1472 if (level_count != image->info.levels) { in radv_clear_htile() 1476 for (uint32_t l = 0; l < level_count; l++) { in radv_clear_htile() 1761 uint32_t last_level = iview->vk.base_mip_level + iview->vk.level_count - 1; in radv_can_fast_clear_color() 1767 for (uint32_t l = 0; l < iview->vk.level_count; l++) { in radv_can_fast_clear_color() 1796 .levelCount = iview->vk.level_count, in radv_fast_clear_color()
|
D | radv_cmd_buffer.c | 2099 .levelCount = iview->vk.level_count, in radv_emit_fb_color_state() 2306 uint32_t level_count = radv_get_levelCount(image, range); in radv_set_ds_clear_metadata() local 2312 radeon_emit(cs, PKT3(PKT3_WRITE_DATA, 2 + 2 * level_count, cmd_buffer->state.predicating)); in radv_set_ds_clear_metadata() 2317 for (uint32_t l = 0; l < level_count; l++) { in radv_set_ds_clear_metadata() 2323 for (uint32_t l = 0; l < level_count; l++) { in radv_set_ds_clear_metadata() 2358 uint32_t level_count = radv_get_levelCount(image, range); in radv_set_tc_compat_zrange_metadata() local 2360 radeon_emit(cs, PKT3(PKT3_WRITE_DATA, 2 + level_count, cmd_buffer->state.predicating)); in radv_set_tc_compat_zrange_metadata() 2365 for (uint32_t l = 0; l < level_count; l++) in radv_set_tc_compat_zrange_metadata() 2377 .levelCount = iview->vk.level_count, in radv_update_tc_compat_zrange_metadata() 2402 .levelCount = iview->vk.level_count, in radv_update_ds_clear_metadata() [all …]
|
/third_party/mesa3d/src/freedreno/fdl/ |
D | fd6_view.c | 251 A6XX_TEX_CONST_0_MIPLVLS(args->level_count - 1); in fdl6_view_init() 269 assert(args->level_count == 1); in fdl6_view_init()
|
D | freedreno_layout.h | 275 uint32_t layer_count, level_count; member
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dvx_image.c | 70 image_view->vk.level_count - 1; in pack_texture_shader_state_helper()
|
D | v3dv_meta_clear.c | 90 uint32_t level_count = vk_image_subresource_level_count(&image->vk, range); in clear_image_tlb() local 92 uint32_t max_level = range->baseMipLevel + level_count; in clear_image_tlb()
|
D | v3dv_uniforms.c | 408 return image_view->vk.level_count; in get_texture_size_from_image_view()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_blorp.c | 1028 uint32_t level_count = in anv_CmdClearColorImage() local 1031 for (uint32_t i = 0; i < level_count; i++) { in anv_CmdClearColorImage() 1107 uint32_t level_count = in anv_CmdClearDepthStencilImage() local 1110 for (uint32_t i = 0; i < level_count; i++) { in anv_CmdClearDepthStencilImage() 1497 uint32_t base_level, uint32_t level_count, in anv_image_copy_to_shadow() argument 1525 for (uint32_t l = 0; l < level_count; l++) { in anv_image_copy_to_shadow()
|
D | genX_cmd_buffer.c | 527 uint32_t base_level, uint32_t level_count, in anv_image_init_aux_tt() argument 556 for (uint32_t l = 0; l < level_count; l++) { in anv_image_init_aux_tt() 710 uint32_t base_level, uint32_t level_count, in transition_stencil_buffer() argument 741 base_level, level_count, in transition_stencil_buffer() 755 base_level, level_count, base_layer, layer_count); in transition_stencil_buffer() 763 for (uint32_t l = 0; l < level_count; l++) { in transition_stencil_buffer() 1188 const uint32_t base_level, uint32_t level_count, in transition_color_buffer() argument 1202 assert(level_count != VK_REMAINING_MIP_LEVELS && in transition_color_buffer() 1205 UNUSED uint64_t last_level_num = base_level + level_count; in transition_color_buffer() 1268 base_level, level_count, in transition_color_buffer() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_image.c | 100 .level_count = 1, in fd6_emit_image_descriptor()
|
D | fd6_texture.c | 242 .level_count = in fd6_sampler_view_update()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_state_derived.c | 795 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/imagination/vulkan/ |
D | pvr_image.c | 281 info.mip_levels = iview->vk.level_count; in pvr_CreateImageView()
|