Home
last modified time | relevance | path

Searched refs:base_mip_level (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_image.c895 iview->srv_desc.Texture1DArray.MostDetailedMip = iview->vk.base_mip_level; in dzn_image_view_prepare_srv_desc()
901 iview->srv_desc.Texture1D.MostDetailedMip = iview->vk.base_mip_level; in dzn_image_view_prepare_srv_desc()
914 iview->srv_desc.Texture2DArray.MostDetailedMip = iview->vk.base_mip_level; in dzn_image_view_prepare_srv_desc()
923 iview->srv_desc.Texture2D.MostDetailedMip = iview->vk.base_mip_level; in dzn_image_view_prepare_srv_desc()
933 iview->srv_desc.TextureCubeArray.MostDetailedMip = iview->vk.base_mip_level; in dzn_image_view_prepare_srv_desc()
939 iview->srv_desc.TextureCube.MostDetailedMip = iview->vk.base_mip_level; in dzn_image_view_prepare_srv_desc()
946 iview->srv_desc.Texture3D.MostDetailedMip = iview->vk.base_mip_level; in dzn_image_view_prepare_srv_desc()
973 iview->uav_desc.Texture1DArray.MipSlice = iview->vk.base_mip_level; in dzn_image_view_prepare_uav_desc()
978 iview->uav_desc.Texture1D.MipSlice = iview->vk.base_mip_level; in dzn_image_view_prepare_uav_desc()
989 iview->uav_desc.Texture2DArray.MipSlice = iview->vk.base_mip_level; in dzn_image_view_prepare_uav_desc()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/
Dpipeline.cc276 (fb_width_ << attachment.base_mip_level) * in Validate()
277 (fb_height_ << attachment.base_mip_level)) { in Validate()
352 auto mip0_width = fb_width_ << attachment.base_mip_level; in UpdateFramebufferSizes()
353 auto mip0_height = fb_height_ << attachment.base_mip_level; in UpdateFramebufferSizes()
368 uint32_t base_mip_level) { in AddColorAttachment() argument
381 info.base_mip_level = base_mip_level; in AddColorAttachment()
382 auto mip0_width = fb_width_ << base_mip_level; in AddColorAttachment()
383 auto mip0_height = fb_height_ << base_mip_level; in AddColorAttachment()
529 uint32_t base_mip_level, in AddBuffer() argument
539 info.base_mip_level = base_mip_level; in AddBuffer()
[all …]
Dpipeline.h192 uint32_t base_mip_level = 0; member
296 uint32_t base_mip_level);
350 uint32_t base_mip_level,
Dcommand.h529 void SetBaseMipLevel(uint32_t base_mip_level) { in SetBaseMipLevel() argument
530 base_mip_level_ = base_mip_level; in SetBaseMipLevel()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dimage_descriptor.cc30 uint32_t base_mip_level, in ImageDescriptor() argument
35 base_mip_level_(base_mip_level), in ImageDescriptor()
Dframe_buffer.cc72 VK_IMAGE_TYPE_2D, usage_flags, width_ << info->base_mip_level, in Initialize()
73 height_ << info->base_mip_level, depth_, info->buffer->GetMipLevels(), in Initialize()
74 info->base_mip_level, 1u, info->buffer->GetSamples())); in Initialize()
Dimage_descriptor.h36 uint32_t base_mip_level,
Dtransfer_image.cc78 uint32_t base_mip_level, in TransferImage() argument
92 base_mip_level_(base_mip_level), in TransferImage()
Dtransfer_image.h41 uint32_t base_mip_level,
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_image.c68 tex.base_level = image_view->vk.base_mip_level; in pack_texture_shader_state_helper()
69 tex.max_level = image_view->vk.base_mip_level + in pack_texture_shader_state_helper()
Dv3dvx_cmd_buffer.c111 &image->slices[iview->vk.base_mip_level]; in cmd_buffer_render_pass_emit_load()
113 v3dv_layer_offset(image, iview->vk.base_mip_level, in cmd_buffer_render_pass_emit_load()
312 &image->slices[iview->vk.base_mip_level]; in cmd_buffer_render_pass_emit_store()
314 iview->vk.base_mip_level, in cmd_buffer_render_pass_emit_store()
908 &image->slices[iview->vk.base_mip_level]; in v3dX()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_image.h270 uint32_t base_mip_level; member
307 .baseMipLevel = view->base_mip_level, in vk_image_view_subresource_range()
Dvk_image.c459 image_view->base_mip_level = range->baseMipLevel; in vk_image_view_init()
475 assert(image_view->min_lod <= image_view->base_mip_level + in vk_image_view_init()
479 vk_image_mip_level_extent(image, image_view->base_mip_level); 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/panfrost/vulkan/
Dpanvk_vX_image.c110 .first_level = view->vk.base_mip_level, in panvk_per_arch()
111 .last_level = view->vk.base_mip_level + in panvk_per_arch()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c248 uint32_t src_width = radv_minify(src_iview->image->info.width, src_iview->vk.base_mip_level); in meta_emit_blit()
249 uint32_t src_height = radv_minify(src_iview->image->info.height, src_iview->vk.base_mip_level); in meta_emit_blit()
250 uint32_t src_depth = radv_minify(src_iview->image->info.depth, src_iview->vk.base_mip_level); in meta_emit_blit()
251 uint32_t dst_width = radv_minify(dest_iview->image->info.width, dest_iview->vk.base_mip_level); in meta_emit_blit()
252 uint32_t dst_height = radv_minify(dest_iview->image->info.height, dest_iview->vk.base_mip_level); in meta_emit_blit()
Dradv_meta_resolve.c603 if (radv_layout_dcc_compressed(cmd_buffer->device, dst_img, dest_iview->vk.base_mip_level, in radv_cmd_buffer_resolve_subpass_hw()
607 .baseMipLevel = dest_iview->vk.base_mip_level, in radv_cmd_buffer_resolve_subpass_hw()
668 … dst_iview->image, dst_iview->vk.base_mip_level, dst_att.layout, in radv_cmd_buffer_resolve_subpass()
735 dst_iview->vk.base_mip_level, dest_att.layout, in radv_cmd_buffer_resolve_subpass()
Dradv_meta_resolve_cs.c806 .mipLevel = src_iview->vk.base_mip_level, in radv_cmd_buffer_resolve_subpass_cs()
813 .mipLevel = dst_iview->vk.base_mip_level, in radv_cmd_buffer_resolve_subpass_cs()
882 .baseMipLevel = src_iview->vk.base_mip_level, in radv_depth_stencil_resolve_subpass_cs()
900 .baseMipLevel = dst_iview->vk.base_mip_level, in radv_depth_stencil_resolve_subpass_cs()
923 range.baseMipLevel = dst_iview->vk.base_mip_level; in radv_depth_stencil_resolve_subpass_cs()
Dradv_meta_clear.c531 … if (radv_htile_enabled(iview->image, iview->vk.base_mip_level) && iview->vk.base_mip_level == 0 && in depth_view_can_fast_clear()
850 uint32_t last_level = iview->vk.base_mip_level + iview->vk.level_count - 1; in radv_can_fast_clear_depth()
883 .baseMipLevel = iview->vk.base_mip_level, in radv_fast_clear_depth()
1719 cmd_buffer->device, iview->image, iview->vk.base_mip_level, image_layout, in_render_loop, in radv_can_fast_clear_color()
1746 if (radv_dcc_enabled(iview->image, iview->vk.base_mip_level)) { in radv_can_fast_clear_color()
1761 uint32_t last_level = iview->vk.base_mip_level + iview->vk.level_count - 1; in radv_can_fast_clear_color()
1768 uint32_t level = iview->vk.base_mip_level + l; in radv_can_fast_clear_color()
1795 .baseMipLevel = iview->vk.base_mip_level, in radv_fast_clear_color()
1816 if (radv_dcc_enabled(iview->image, iview->vk.base_mip_level)) { in radv_fast_clear_color()
Dradv_image.c1960 hw_level = iview->vk.base_mip_level; in radv_image_view_make_descriptor()
1974 base_level_info = &plane->surface.u.legacy.zs.stencil_level[iview->vk.base_mip_level]; in radv_image_view_make_descriptor()
1976 base_level_info = &plane->surface.u.legacy.level[iview->vk.base_mip_level]; in radv_image_view_make_descriptor()
1982 … si_set_mutable_tex_desc_fields(device, image, base_level_info, plane_id, iview->vk.base_mip_level, in radv_image_view_make_descriptor()
1983 iview->vk.base_mip_level, blk_w, is_stencil, is_storage_image, in radv_image_view_make_descriptor()
Dradv_device.c6192 if (!radv_dcc_enabled(iview->image, iview->vk.base_mip_level)) in radv_init_dcc_control_reg()
6230 S_028C78_FDCC_ENABLE(radv_dcc_enabled(iview->image, iview->vk.base_mip_level)); in radv_init_dcc_control_reg()
6293 const struct legacy_surf_level *level_info = &surf->u.legacy.level[iview->vk.base_mip_level]; in radv_initialise_color_surface()
6302 tile_mode_index = si_tile_mode_index(plane, iview->vk.base_mip_level, false); in radv_initialise_color_surface()
6333 if (radv_dcc_enabled(iview->image, iview->vk.base_mip_level) && in radv_initialise_color_surface()
6335 va += plane->surface.u.legacy.color.dcc_level[iview->vk.base_mip_level].dcc_offset; in radv_initialise_color_surface()
6436 if (radv_dcc_enabled(iview->image, iview->vk.base_mip_level) && !iview->disable_dcc_mrt && in radv_initialise_color_surface()
6458 cb->cb_color_view |= S_028C6C_MIP_LEVEL_GFX10(iview->vk.base_mip_level); in radv_initialise_color_surface()
6464 cb->cb_color_view |= S_028C6C_MIP_LEVEL_GFX9(iview->vk.base_mip_level); in radv_initialise_color_surface()
6548 unsigned level = iview->vk.base_mip_level; in radv_initialise_ds_surface()
Dradv_cmd_buffer.c1988 cmd_buffer->device, image, iview->vk.base_mip_level, layout, in_render_loop, in radv_emit_fb_color_state()
2098 .baseMipLevel = iview->vk.base_mip_level, in radv_emit_fb_color_state()
2141 uint64_t va = radv_get_tc_compat_zrange_va(image, iview->vk.base_mip_level); in radv_update_zrange_precision()
2376 .baseMipLevel = iview->vk.base_mip_level, in radv_update_tc_compat_zrange_metadata()
2401 .baseMipLevel = iview->vk.base_mip_level, in radv_update_ds_clear_metadata()
2428 uint64_t va = radv_get_ds_clear_value_va(image, iview->vk.base_mip_level); in radv_load_ds_clear_metadata()
2592 .baseMipLevel = iview->vk.base_mip_level, in radv_update_color_clear_metadata()
2598 assert(radv_image_has_cmask(image) || radv_dcc_enabled(image, iview->vk.base_mip_level)); in radv_update_color_clear_metadata()
2621 if (!radv_image_has_cmask(image) && !radv_dcc_enabled(image, iview->vk.base_mip_level)) in radv_load_color_clear_metadata()
2633 uint64_t va = radv_image_get_fast_clear_va(image, iview->vk.base_mip_level); in radv_load_color_clear_metadata()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_lrz.c173 .base_mip_level = 0b1111, in tu6_disable_lrz_via_depth_view()
547 .base_mip_level = range->baseMipLevel, in tu_lrz_clear_depth_image()
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
Dparser.cc1134 uint32_t base_mip_level = 0; in ParsePipelineBind() local
1143 base_mip_level = token->AsUint32(); in ParsePipelineBind()
1145 if (base_mip_level >= buffer->GetMipLevels()) in ParsePipelineBind()
1152 r = pipeline->AddColorAttachment(buffer, location, base_mip_level); in ParsePipelineBind()
1220 uint32_t base_mip_level = 0; in ParsePipelineBind() local
1233 base_mip_level = token->AsUint32(); in ParsePipelineBind()
1235 if (base_mip_level >= buffer->GetMipLevels()) in ParsePipelineBind()
1318 base_mip_level, dynamic_offsets[i], in ParsePipelineBind()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_image.c280 info.base_level = iview->vk.base_mip_level; in pvr_CreateImageView()
/third_party/mesa3d/src/intel/vulkan/
DgenX_cmd_buffer.c6553 iview->vk.base_mip_level, 1, in genX()
6564 iview->vk.base_mip_level, 1, in genX()
6579 assert(iview->vk.base_mip_level == 0 && in genX()
6629 iview->vk.base_mip_level, in genX()
6639 iview->vk.base_mip_level, in genX()
6806 s_iview->vk.base_mip_level, 1, in genX()
6815 s_iview->vk.base_mip_level, 1, in genX()
6829 uint32_t level = ds_iview->vk.base_mip_level; in genX()
6849 uint32_t level = ds_iview->vk.base_mip_level; in genX()

12