Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/intel/isl/
Disl_gfx12.c82 if (isl_format_get_layout(info->format)->bpb % 3 == 0) in isl_gfx125_filter_tiling()
94 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx125_choose_image_alignment_el()
189 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx12_choose_image_alignment_el()
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.h1779 isl_format_get_layout(enum isl_format fmt) in isl_format_get_layout() function
1863 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_compressed()
1871 switch (isl_format_get_layout(fmt)->txc) { in isl_format_has_bc_compression()
1899 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_mcs()
1916 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_yuv()
1924 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_block_is_1x1x1()
1932 return isl_format_get_layout(fmt)->colorspace == ISL_COLORSPACE_SRGB; in isl_format_is_srgb()
1943 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_rgb()
1954 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_rgbx()
2438 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in isl_surf_get_image_alignment_sa()
[all …]
Disl_surface_state.c176 } else if (isl_format_get_layout(surf->format)->bpb % 3 == 0) { in get_image_alignment()
185 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in get_image_alignment()
317 isl_format_get_layout(info->surf->format); in isl_genX()
319 isl_format_get_layout(info->surf->format); in isl_genX()
598 assert(isl_is_pow2(isl_format_get_layout(info->view->format)->bpb)); in isl_genX()
606 if (isl_format_get_layout(info->view->format)->bpb == 8) in isl_genX()
608 if (isl_format_get_layout(info->view->format)->bpb == 16) in isl_genX()
873 info->stride_B < isl_format_get_layout(info->format)->bpb / 8) && in isl_genX()
948 info->stride_B == isl_format_get_layout(info->format)->bpb / 8 && in isl_genX()
Disl_gfx7.c243 if (isl_format_get_layout(info->format)->txc == ISL_TXC_ASTC) in isl_gfx6_filter_tiling()
247 if (isl_format_get_layout(info->format)->txc == ISL_TXC_MCS) in isl_gfx6_filter_tiling()
305 if (ISL_GFX_VER(dev) < 7 && isl_format_get_layout(info->format)->bpb >= 128) in isl_gfx6_filter_tiling()
Disl.c540 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_color_value_is_zero()
560 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_color_value_is_zero_one()
603 assert(isl_format_get_layout(info->format)->txc == ISL_TXC_CCS); in isl_surf_choose_tiling()
830 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_choose_image_alignment_el()
961 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_level0_extent_sa()
1098 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_array_pitch_el_rows_gfx4_2d()
1274 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gfx4_2d()
1317 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gfx4_3d()
1384 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gfx6_stencil_hiz()
1446 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gfx9_1d()
[all …]
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_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_gfx8.c103 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx8_choose_image_alignment_el()
Disl_format.c717 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
730 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
737 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
836 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_ccs_d()
897 } else if (devinfo->ver < 7 && isl_format_get_layout(format)->bpb > 64) { in isl_format_supports_multisampling()
936 const struct isl_format_layout *fmtl1 = isl_format_get_layout(format1); in isl_formats_are_ccs_e_compatible()
937 const struct isl_format_layout *fmtl2 = isl_format_get_layout(format2); in isl_formats_are_ccs_e_compatible()
951 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_has_channel_type()
1001 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_has_color_component()
1023 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_get_num_channels()
[all …]
/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()
129 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_is_format_supported()
Diris_resource.c569 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in want_ccs_e_for_format()
2048 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents()
2154 isl_format_get_layout(surf->format); in iris_map_direct()
2281 isl_format_get_layout(surf->format); in iris_transfer_map()
/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.c1447 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents()
1555 isl_format_get_layout(surf->format); in crocus_map_direct()
1683 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in crocus_transfer_map()
/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()
2482 isl_format_get_layout(params.src.view.format); in blorp_blit()
[all …]
Dblorp_clear.c322 x_align = isl_format_get_layout(aux_surf->format)->bw; in get_fast_clear_rect()
323 y_align = isl_format_get_layout(aux_surf->format)->bh; in get_fast_clear_rect()
525 } else if (isl_format_get_layout(format)->bpb % 3 == 0) { in blorp_clear()
655 isl_format_get_layout(params.dst.surf.format)->bpb / 8; in blorp_clear()
765 isl_format_get_layout(wide_format)->bpb / 8; in blorp_clear_stencil_as_rgba()
1210 isl_format_get_layout(params.dst.aux_surf.format); in blorp_ccs_resolve()
1412 isl_format_get_layout(surf->aux_surf->format); in blorp_ccs_ambiguate()
/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()
607 isl_format_get_layout(plane_format.isl_format)->txc == ISL_TXC_ASTC) in anv_get_image_format_features2()
731 isl_format_get_layout(plane_format.isl_format); in anv_get_image_format_features2()
Danv_image.c986 isl_format_get_layout(plane->primary_surface.isl.format); in check_drm_format_mod()
1578 (isl_format_get_layout(isl_fmt)->bpb / 8); in resolve_ahw_image()
2732 const uint32_t format_bs = isl_format_get_layout(view->format)->bpb / 8; in anv_CreateBufferView()
2756 isl_format_get_layout(view->format)->bpb / 8); in anv_CreateBufferView()
2768 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