Home
last modified time | relevance | path

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

12

/external/mesa3d/src/intel/isl/
Disl.h1529 isl_format_get_layout(enum isl_format fmt) in isl_format_get_layout() function
1541 return isl_format_get_layout(fmt)->name; in isl_format_get_name()
1610 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_compressed()
1618 switch (isl_format_get_layout(fmt)->txc) { in isl_format_has_bc_compression()
1655 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_yuv()
1663 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_block_is_1x1x1()
1671 return isl_format_get_layout(fmt)->colorspace == ISL_COLORSPACE_SRGB; in isl_format_is_srgb()
1682 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_rgb()
1693 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_rgbx()
2097 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in isl_surf_get_image_alignment_sa()
[all …]
Disl_storage_image.c208 return isl_format_get_layout(fmt)->bpb <= 64; in isl_has_matching_typed_storage_image_format()
210 return isl_format_get_layout(fmt)->bpb <= 32; in isl_has_matching_typed_storage_image_format()
250 const int cpp = isl_format_get_layout(surf->format)->bpb / 8; in isl_surf_fill_image_param()
322 param->stride[0] = isl_format_get_layout(format)->bpb / 8; in isl_buffer_fill_image_param()
Disl_gen7.c231 if (isl_format_get_layout(info->format)->txc == ISL_TXC_ASTC) in isl_gen6_filter_tiling()
235 if (isl_format_get_layout(info->format)->txc == ISL_TXC_MCS) in isl_gen6_filter_tiling()
308 if (ISL_DEV_GEN(dev) < 7 && isl_format_get_layout(info->format)->bpb >= 128) in isl_gen6_filter_tiling()
Disl.c448 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_color_value_is_zero()
468 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_color_value_is_zero_one()
511 assert(isl_format_get_layout(info->format)->txc == ISL_TXC_CCS); in isl_surf_choose_tiling()
734 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_choose_image_alignment_el()
862 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_level0_extent_sa()
999 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_array_pitch_el_rows_gen4_2d()
1175 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gen4_2d()
1206 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gen4_3d()
1271 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gen6_stencil_hiz()
1331 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gen9_1d()
[all …]
Disl_gen9.c39 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in gen9_calc_std_image_alignment_sa()
110 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gen9_choose_image_alignment_el()
Disl_surface_state.c278 isl_format_get_layout(info->surf->format); in isl_genX()
280 isl_format_get_layout(info->surf->format); in isl_genX()
558 assert(isl_is_pow2(isl_format_get_layout(info->view->format)->bpb)); in isl_genX()
566 if (isl_format_get_layout(info->view->format)->bpb == 8) in isl_genX()
568 if (isl_format_get_layout(info->view->format)->bpb == 16) in isl_genX()
829 info->stride_B < isl_format_get_layout(info->format)->bpb / 8) { in isl_genX()
888 info->stride_B == isl_format_get_layout(info->format)->bpb / 8 && in isl_genX()
Disl_priv.h139 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_extent3d_sa_to_el()
155 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_extent3d_el_to_sa()
Disl_gen12.c39 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gen12_choose_image_alignment_el()
Disl_format.c717 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
724 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
731 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
750 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_filtering()
757 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_filtering()
764 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_filtering()
844 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_ccs_d()
901 } else if (devinfo->gen < 7 && isl_format_get_layout(format)->bpb > 64) { in isl_format_supports_multisampling()
940 const struct isl_format_layout *fmtl1 = isl_format_get_layout(format1); in isl_formats_are_ccs_e_compatible()
941 const struct isl_format_layout *fmtl2 = isl_format_get_layout(format2); in isl_formats_are_ccs_e_compatible()
[all …]
Disl_gen4.c94 if (isl_format_get_layout(info->format)->bpb >= 128) in isl_gen4_filter_tiling()
Disl_gen8.c103 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gen8_choose_image_alignment_el()
/external/mesa3d/src/gallium/drivers/iris/
Diris_formats.c48 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_format_for_usage()
129 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_is_format_supported()
Diris_resource.c472 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in want_ccs_e_for_format()
1514 const struct isl_format_layout *fmtl = isl_format_get_layout(res->surf.format); in iris_resource_get_aligned_offset()
1552 const struct isl_format_layout *fmtl = isl_format_get_layout(res->surf.format); in iris_resource_get_tile_offsets()
1698 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents()
1804 isl_format_get_layout(surf->format); in iris_map_direct()
1924 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in iris_transfer_map()
Diris_clear.c746 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_clear_texture()
Diris_blit.c283 isl_format_get_layout(format)->txc == ISL_TXC_ASTC; in is_astc()
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c237 x_align = isl_format_get_layout(aux_surf->format)->bw; in get_fast_clear_rect()
238 y_align = isl_format_get_layout(aux_surf->format)->bh; in get_fast_clear_rect()
409 } else if (isl_format_get_layout(format)->bpb % 3 == 0) { in blorp_clear()
533 isl_format_get_layout(params.dst.surf.format)->bpb / 8; in blorp_clear()
640 isl_format_get_layout(wide_format)->bpb / 8; in blorp_clear_stencil_as_rgba()
1061 isl_format_get_layout(params.dst.aux_surf.format); in blorp_ccs_resolve()
1262 isl_format_get_layout(surf->aux_surf->format); in blorp_ccs_ambiguate()
Dblorp_blit.c875 isl_format_get_layout(key->src_format); in bit_cast_color()
877 isl_format_get_layout(key->dst_format); in bit_cast_color()
1723 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in get_red_format_for_rgb_format()
1783 assert(isl_format_get_layout(red_format)->channels.r.type == in surf_fake_rgb_with_red()
1784 isl_format_get_layout(info->view.format)->channels.r.type); in surf_fake_rgb_with_red()
1785 assert(isl_format_get_layout(red_format)->channels.r.bits == in surf_fake_rgb_with_red()
1786 isl_format_get_layout(info->view.format)->channels.r.bits); in surf_fake_rgb_with_red()
2042 if (isl_format_get_layout(params->dst.view.format)->bpb % 3 == 0) { in try_blorp_blit()
2362 isl_format_get_layout(params.src.view.format); in blorp_blit()
2585 isl_format_get_layout(info->surf.format); in blorp_surf_convert_to_uncompressed()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c254 y_isl_layout = isl_format_get_layout(format->planes[p].isl_format); in try_lower_tex_ycbcr()
288 isl_format_get_layout(plane_format->isl_format); in try_lower_tex_ycbcr()
Danv_image.c1037 (isl_format_get_layout(isl_fmt)->bpb / 8); in resolve_ahw_image()
1840 isl_format_get_layout(surface->isl.format); in anv_image_fill_surface_state()
2252 const uint32_t format_bs = isl_format_get_layout(view->format)->bpb / 8; in anv_CreateBufferView()
2283 isl_format_get_layout(storage_format)->bpb / 8)); in anv_CreateBufferView()
2289 isl_format_get_layout(view->format)->bpb / 8); in anv_CreateBufferView()
Danv_formats.c482 isl_format_get_layout(plane_format.isl_format); in anv_get_format_plane()
580 isl_format_get_layout(plane_format.isl_format)->txc == ISL_TXC_ASTC) in anv_get_image_format_features()
588 isl_format_get_layout(plane_format.isl_format)->txc == ISL_TXC_ASTC) in anv_get_image_format_features()
Danv_android.c507 (isl_format_get_layout(format)->bpb / 8); in anv_image_from_gralloc()
Danv_blorp.c140 isl_format_get_layout(format); in get_blorp_surf_for_anv_buffer()
149 assert(fmtl->bpb == isl_format_get_layout(format)->bpb); in get_blorp_surf_for_anv_buffer()
539 isl_format_get_layout(linear_format); in copy_buffer_to_image()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_lower_image_load_store.c247 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in get_format_info()
398 isl_format_get_layout(image_fmt); in lower_image_load_instr()
553 isl_format_get_layout(image_fmt); in lower_image_store_instr()
/external/mesa3d/docs/relnotes/
D18.1.2.rst78 - intel/isl: Add bounds-checking assertions in isl_format_get_layout
/external/mesa3d/src/intel/common/
Dgen_aux_map.c300 switch (isl_format_get_layout(format)->bpb) { in get_bpp_encoding()

12