Home
last modified time | relevance | path

Searched refs:size_B (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/intel/isl/
Disl.c1795 uint64_t size_B; in isl_surf_init_s() local
1800 size_B = (uint64_t) row_pitch_B * phys_total_el.h; in isl_surf_init_s()
1855 size_B = (uint64_t) total_h_tl * tile_info.phys_extent_B.height * row_pitch_B; in isl_surf_init_s()
1894 if (size_B > (uint64_t) 1 << 31) in isl_surf_init_s()
1903 if (size_B > (uint64_t) 1 << 38) in isl_surf_init_s()
1907 if (size_B > (uint64_t) 1 << 44) in isl_surf_init_s()
1925 .size_B = size_B, in isl_surf_init_s()
2064 if (mcs_surf->size_B > 0) in isl_surf_get_mcs_surf()
2168 assert(hiz_or_mcs_surf == NULL || hiz_or_mcs_surf->size_B == 0); in isl_surf_supports_ccs()
2177 if (hiz_surf == NULL || hiz_surf->size_B == 0) in isl_surf_supports_ccs()
[all …]
Disl.h1511 uint64_t size_B; member
1670 uint64_t size_B; member
Disl_surface_state.c859 uint64_t buffer_size = info->size_B; in isl_genX()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resource.c403 res->aux.surf.size_B = 0; in iris_resource_disable_aux()
405 res->aux.extra_aux.surf.size_B = 0; in iris_resource_disable_aux()
551 const unsigned aux_offset = res->aux.extra_aux.surf.size_B > 0 ? in map_aux_addresses()
557 res->surf.size_B, format_bits); in map_aux_addresses()
696 assert(extra_aux_surf->size_B == 0); in iris_get_ccs_surf()
700 if (aux_surf->size_B > 0) { in iris_get_ccs_surf()
871 res->aux.surf.size_B); in iris_resource_init_aux_buf()
875 0, res->aux.extra_aux.surf.size_B); in iris_resource_init_aux_buf()
898 assert(res->bo->size >= aux_res->aux.offset + res->aux.surf.size_B); in import_aux_info()
1083 uint64_t bo_size = res->surf.size_B; in iris_resource_create_with_modifiers()
[all …]
Diris_draw.c367 .size_B = sizeof(grid->grid), in iris_update_grid_size_resource()
Diris_program.c214 .size_B = buf->buffer_size - res->offset, in iris_upload_ubo_ssbo_surf_state()
2407 .size_B = scratch_bo->size, in iris_get_scratch_surf()
Diris_state.c2243 .size_B = final_size, in fill_buffer_surface_state()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_mipmap_tree.c409 } else if (need_to_retile_as_x(brw, mt->surf.size_B, mt->surf.tiling)) { in make_surface()
421 assert(mt->surf.size_B % mt->surf.row_pitch_B == 0); in make_surface()
425 mt->surf.size_B, in make_surface()
619 assert(bo->size >= mt->surf.size_B); in brw_miptree_create_for_bo()
736 assert(temp_ccs_surf.size_B <= image->bo->size - image->aux_offset); in create_ccs_buf_for_image()
1410 uint64_t size = aux_surf->size_B; in brw_alloc_aux_buffer()
1457 memset(map, memset_value, aux_surf->size_B); in brw_alloc_aux_buffer()
1492 assert(mt->surf.size_B > 0); in brw_miptree_level_enable_hiz()
1536 aux_surf.size_B = 0; in brw_miptree_alloc_aux()
1591 if (aux_surf.size_B == 0) in brw_miptree_alloc_aux()
[all …]
Dbrw_screen.c802 aux_surf.size_B = 0; in brw_create_image_common()
815 surf.size_B + aux_surf.size_B, in brw_create_image_common()
828 if (aux_surf.size_B) { in brw_create_image_common()
829 image->aux_offset = surf.size_B; in brw_create_image_common()
831 image->aux_size = aux_surf.size_B; in brw_create_image_common()
1206 const int end = offsets[index] + surf.size_B; in brw_create_image_from_fds_common()
1244 image->aux_size = aux_surf.size_B; in brw_create_image_from_fds_common()
1246 const int end = image->aux_offset + aux_surf.size_B; in brw_create_image_from_fds_common()
Dbrw_wm_surface_state.c645 .size_B = buffer_size, in brw_emit_buffer_surface_state()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resource.c322 res->aux.surf.size_B = 0; in crocus_resource_disable_aux()
518 ALIGN(res->surf.size_B, res->aux.surf.alignment_B) : 0; in crocus_resource_configure_aux()
519 uint64_t size = res->aux.surf.size_B; in crocus_resource_configure_aux()
568 res->aux.surf.size_B); in crocus_resource_init_aux_buf()
631 assert(res->bo->size >= (res->aux.offset + res->aux.surf.size_B)); in crocus_resource_finish_aux_import()
713 MAX2(res->surf.size_B, res->aux.offset + aux_size); in crocus_resource_create_with_modifiers()
Dcrocus_state.c5135 .size_B = 12, in emit_grid()
5157 .size_B = buffer->buffer_size, in emit_ubo_buffer()
5184 .size_B = buffer->buffer_size, in emit_ssbo_buffer()
5215 .size_B = final_size, in emit_sampler_view()
5256 .size_B = final_size, in emit_image_view()
5268 .size_B = res->bo->size - res->offset, in emit_image_view()
5359 .size_B = num_elements * 4, in emit_sol_surface()
/third_party/mesa3d/src/intel/vulkan/
Danv_image.c313 assert(surf->isl.size_B > 0); in add_surface()
316 surf->isl.size_B, in add_surface()
683 image->planes[plane].aux_surface.isl.size_B = 0; in add_aux_surface_if_supported()
2401 .size_B = surface->isl.size_B, in anv_image_fill_surface_state()
Danv_blorp.c457 isl_format_for_size(unsigned size_B) in isl_format_for_size() argument
460 switch (size_B) { in isl_format_for_size()
Danv_allocator.c1527 .size_B = bo->size, in anv_scratch_pool_get_surf()
Danv_private.h3939 return surface->isl.size_B > 0 && surface->memory_range.size > 0; in anv_surface_is_valid()
Danv_device.c4413 .size_B = range, in anv_fill_buffer_surface_state()
/third_party/mesa3d/src/intel/blorp/
Dblorp_blit.c2919 isl_format_for_size(unsigned size_B) in isl_format_for_size() argument
2921 switch (size_B) { in isl_format_for_size()
/third_party/mesa3d/docs/relnotes/
D20.0.0.rst1731 - anv: Replace aux_surface.isl.size_B checks with aux_usage checks
1745 - anv: Replace one more aux_surface.isl.size_B check