Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/intel/isl/
Disl.h1827 isl_format_get_layout(enum isl_format fmt) in isl_format_get_layout() function
1916 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_compressed()
1924 switch (isl_format_get_layout(fmt)->txc) { in isl_format_has_bc_compression()
1952 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_mcs()
1960 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_hiz()
1977 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_yuv()
1985 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_block_is_1x1x1()
1993 return isl_format_get_layout(fmt)->colorspace == ISL_COLORSPACE_SRGB; in isl_format_is_srgb()
2004 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_rgb()
2015 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_rgbx()
[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()
254 const int cpp = isl_format_get_layout(surf->format)->bpb / 8; in isl_surf_fill_image_param()
326 param->stride[0] = isl_format_get_layout(format)->bpb / 8; in isl_buffer_fill_image_param()
Disl_gfx12.c89 if (isl_format_get_layout(info->format)->bpb % 3 == 0) in isl_gfx125_filter_tiling()
113 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx125_choose_image_alignment_el()
208 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx12_choose_image_alignment_el()
Disl_surface_state.c128 const uint32_t plane_bpb = isl_format_get_layout(lowered_format)->bpb; in get_media_compression_format()
188 isl_format_get_layout(info->surf->format); in isl_genX()
190 isl_format_get_layout(info->surf->format); in isl_genX()
409 if (isl_format_get_layout(info->view->format)->txc == ISL_TXC_ASTC) in isl_genX()
494 assert(isl_is_pow2(isl_format_get_layout(info->view->format)->bpb)); in isl_genX()
502 if (isl_format_get_layout(info->view->format)->bpb == 8) in isl_genX()
504 if (isl_format_get_layout(info->view->format)->bpb == 16) in isl_genX()
810 info->stride_B < isl_format_get_layout(info->format)->bpb / 8) && in isl_genX()
885 info->stride_B == isl_format_get_layout(info->format)->bpb / 8 && in isl_genX()
Disl.c570 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_color_value_is_zero()
590 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_color_value_is_zero_one()
633 assert(isl_format_get_layout(info->format)->txc == ISL_TXC_CCS); in isl_surf_choose_tiling()
860 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_choose_image_alignment_el()
1020 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_level0_extent_sa()
1157 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_array_pitch_el_rows_gfx4_2d()
1333 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gfx4_2d()
1376 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gfx4_3d()
1443 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gfx6_stencil_hiz()
1505 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gfx9_1d()
[all …]
Disl_genX_helpers.h91 } else if (isl_format_get_layout(surf->format)->bpb % 3 == 0) { in isl_get_image_alignment()
100 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in isl_get_image_alignment()
Disl_gfx9.c39 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in gfx9_calc_std_image_alignment_sa()
110 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx9_choose_image_alignment_el()
Disl_gfx7.c241 if (isl_format_get_layout(info->format)->txc == ISL_TXC_MCS) in isl_gfx6_filter_tiling()
299 if (ISL_GFX_VER(dev) < 7 && isl_format_get_layout(info->format)->bpb >= 128) in isl_gfx6_filter_tiling()
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_gfx4.c79 if (isl_format_get_layout(info->format)->bpb >= 128) in isl_gfx4_filter_tiling()
Disl_format.c727 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
740 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
747 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
858 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_ccs_d()
940 } else if (devinfo->ver < 7 && isl_format_get_layout(format)->bpb > 64) { in isl_format_supports_multisampling()
963 const struct isl_format_layout *fmtl1 = isl_format_get_layout(format1); in isl_formats_have_same_bits_per_channel()
964 const struct isl_format_layout *fmtl2 = isl_format_get_layout(format2); in isl_formats_have_same_bits_per_channel()
1009 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_has_channel_type()
1059 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_has_color_component()
1081 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_get_num_channels()
[all …]
Disl_gfx8.c103 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx8_choose_image_alignment_el()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_formats.c48 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_format_for_usage()
133 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_is_format_supported()
/third_party/mesa3d/src/intel/blorp/
Dblorp_blit.c876 isl_format_get_layout(key->src_format); in bit_cast_color()
878 isl_format_get_layout(key->dst_format); in bit_cast_color()
1794 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in get_red_format_for_rgb_format()
1854 assert(isl_format_get_layout(red_format)->channels.r.type == in surf_fake_rgb_with_red()
1855 isl_format_get_layout(info->view.format)->channels.r.type); in surf_fake_rgb_with_red()
1856 assert(isl_format_get_layout(red_format)->channels.r.bits == in surf_fake_rgb_with_red()
1857 isl_format_get_layout(info->view.format)->channels.r.bits); in surf_fake_rgb_with_red()
1870 128 / (isl_format_get_layout(red_format)->bpb / 8); in surf_fake_rgb_with_red()
2125 if (isl_format_get_layout(params->dst.view.format)->bpb % 3 == 0) { in try_blorp_blit()
2496 isl_format_get_layout(dst_surf->format); in blorp_copy_supports_blitter()
[all …]
Dblorp_clear.c326 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in get_fast_clear_rect()
346 x_align = isl_format_get_layout(aux_surf->format)->bw; in get_fast_clear_rect()
347 y_align = isl_format_get_layout(aux_surf->format)->bh; in get_fast_clear_rect()
550 } else if (isl_format_get_layout(format)->bpb % 3 == 0) { in blorp_clear()
680 isl_format_get_layout(params.dst.surf.format)->bpb / 8; in blorp_clear()
790 isl_format_get_layout(wide_format)->bpb / 8; in blorp_clear_stencil_as_rgba()
1227 isl_format_get_layout(params.dst.aux_surf.format); in blorp_ccs_resolve()
1421 isl_format_get_layout(surf->aux_surf->format); in blorp_ccs_ambiguate()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blt.c51 const struct isl_format_layout *fmtl = isl_format_get_layout(dst->surf.format); in blt_set_alpha_to_one()
242 const struct isl_format_layout *src_fmtl = isl_format_get_layout(src->surf.format); in crocus_emit_blt()
244 const struct isl_format_layout *dst_fmtl = isl_format_get_layout(dst->surf.format); in crocus_emit_blt()
Dcrocus_formats.c359 const struct isl_format_layout *fmtl = isl_format_get_layout(info.fmt); in crocus_format_for_usage()
462 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in crocus_is_format_supported()
Dcrocus_resource.c1461 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents()
1569 isl_format_get_layout(surf->format); in crocus_map_direct()
1696 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in crocus_transfer_map()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c261 y_isl_layout = isl_format_get_layout(format->planes[p].isl_format); in anv_nir_lower_ycbcr_textures_instr()
295 isl_format_get_layout(plane_format->isl_format); in anv_nir_lower_ycbcr_textures_instr()
Danv_formats.c452 isl_format_get_layout(anv_format->planes[i].isl_format); in anv_format_has_npot_plane()
496 isl_format_get_layout(plane_format.isl_format); in anv_get_format_plane()
609 isl_format_get_layout(plane_format.isl_format)->txc == ISL_TXC_ASTC) in anv_get_image_format_features2()
740 isl_format_get_layout(plane_format.isl_format); in anv_get_image_format_features2()
1174 isl_format_get_layout(format->planes[0].isl_format); in anv_get_image_format_properties()
Danv_image.c478 unsigned bpb = isl_format_get_layout(format)->bpb; in storage_image_format_supports_atomic()
1168 isl_format_get_layout(plane->primary_surface.isl.format); in check_drm_format_mod()
1695 (isl_format_get_layout(isl_fmt)->bpb / 8); in resolve_ahw_image()
2889 const uint32_t format_bs = isl_format_get_layout(format.isl_format)->bpb / 8; in anv_CreateBufferView()
2935 isl_format_get_layout(lowered_format)->bpb / 8)); in anv_CreateBufferView()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_storage_image.c247 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in get_format_info()
402 isl_format_get_layout(image_fmt); in lower_image_load_instr()
554 isl_format_get_layout(image_fmt); in lower_image_store_instr()
/third_party/mesa3d/docs/relnotes/
D18.1.2.rst78 - intel/isl: Add bounds-checking assertions in isl_format_get_layout
/third_party/mesa3d/docs/isl/
Dformats.rst182 :cpp:func:`isl_format_get_layout`:
184 .. doxygenfunction:: isl_format_get_layout
/third_party/mesa3d/src/intel/common/
Dintel_aux_map.c300 switch (isl_format_get_layout(format)->bpb) { in get_bpp_encoding()

12