Home
last modified time | relevance | path

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

123

/external/mesa3d/src/intel/isl/
Disl.h1999 isl_format_get_layout(enum isl_format fmt) in isl_format_get_layout() function
2101 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_compressed()
2109 switch (isl_format_get_layout(fmt)->txc) { in isl_format_has_bc_compression()
2137 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_mcs()
2145 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_hiz()
2162 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_yuv()
2170 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_block_is_1x1x1()
2178 return isl_format_get_layout(fmt)->colorspace == ISL_COLORSPACE_SRGB; in isl_format_is_srgb()
2189 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_rgb()
2200 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_rgbx()
[all …]
Disl_storage_image.c240 return isl_format_get_layout(fmt)->bpb <= 64; in isl_has_matching_typed_storage_image_format()
242 return isl_format_get_layout(fmt)->bpb <= 32; in isl_has_matching_typed_storage_image_format()
286 const int cpp = isl_format_get_layout(surf->format)->bpb / 8; in isl_surf_fill_image_param()
358 param->stride[0] = isl_format_get_layout(format)->bpb / 8; in isl_buffer_fill_image_param()
Disl.c478 if (isl_format_get_layout(format)->channels.r.bits == 32) in isl_get_sampler_clear_field_offset()
1023 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_color_value_is_zero()
1043 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_color_value_is_zero_one()
1086 assert(isl_format_get_layout(info->format)->txc == ISL_TXC_CCS); in isl_surf_choose_tiling()
1357 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_choose_image_alignment_el()
1528 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_level0_extent_sa()
1715 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_choose_miptail_start_level()
1842 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_array_pitch_el_rows_gfx4_2d()
1961 isl_format_get_layout(info->format); in isl_calc_phys_slice0_extent_sa_gfx4_2d()
2046 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_calc_phys_total_extent_el_gfx4_2d()
[all …]
Disl_gfx20.c125 if (isl_format_get_layout(info->format)->bpb % 3 == 0) in isl_gfx20_filter_tiling()
153 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx20_choose_image_alignment_el()
Disl_surface_state.c152 const uint32_t plane_bpb = isl_format_get_layout(lowered_format)->bpb; in get_media_compression_format()
287 isl_format_get_layout(info->surf->format); in isl_genX()
289 isl_format_get_layout(info->view->format); in isl_genX()
525 if (isl_format_get_layout(info->view->format)->txc == ISL_TXC_ASTC) in isl_genX()
532 assert(isl_format_get_layout(info->view->format)->txc != ISL_TXC_ASTC); in isl_genX()
639 assert(isl_is_pow2(isl_format_get_layout(info->view->format)->bpb)); in isl_genX()
647 if (isl_format_get_layout(info->view->format)->bpb == 8) in isl_genX()
649 if (isl_format_get_layout(info->view->format)->bpb == 16) in isl_genX()
967 info->stride_B < isl_format_get_layout(info->format)->bpb / 8) && in isl_genX()
Disl_gfx12.c125 if (isl_format_get_layout(info->format)->bpb % 3 == 0) in isl_gfx125_filter_tiling()
153 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx125_choose_image_alignment_el()
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_query.c127 if (isl_format_get_layout(i)->bpb != 0 && in main()
162 if (isl_format_get_layout(i)->bpb != 0) in main()
Disl_gfx7.c306 if (isl_format_get_layout(info->format)->txc == ISL_TXC_MCS) in isl_gfx6_filter_tiling()
362 if (ISL_GFX_VER(dev) < 7 && isl_format_get_layout(info->format)->bpb >= 128) in isl_gfx6_filter_tiling()
Disl_gfx9.c41 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx9_choose_image_alignment_el()
Disl_gfx4.c79 if (isl_format_get_layout(info->format)->bpb >= 128) in isl_gfx4_filter_tiling()
Disl_priv.h193 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_extent3d_sa_to_el()
209 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_extent3d_el_to_sa()
Disl_gfx8.c104 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx8_choose_image_alignment_el()
Disl_format.c733 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
746 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
753 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling()
864 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_ccs_d()
953 } else if (devinfo->ver < 7 && isl_format_get_layout(format)->bpb > 64) { in isl_format_supports_multisampling()
976 const struct isl_format_layout *fmtl1 = isl_format_get_layout(format1); in isl_formats_have_same_bits_per_channel()
977 const struct isl_format_layout *fmtl2 = isl_format_get_layout(format2); in isl_formats_have_same_bits_per_channel()
1023 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_has_channel_type()
1073 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_has_color_component()
1095 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_get_num_channels()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_image_host_copy.c17 isl_format_get_layout(format); in vk_offset3d_to_el()
29 isl_format_get_layout(format); in vk_extent3d_to_el()
99 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents()
132 isl_format_get_layout(surf->format); in anv_copy_image_memory()
213 isl_format_get_layout(surf->format); in calc_mem_row_pitch_B()
228 isl_format_get_layout(surf->format); in calc_mem_height_pitch_B()
Danv_image_view.c36 const uint16_t view_bpb = isl_format_get_layout(view_in->format)->bpb; in anv_image_fill_surface_state()
37 const uint16_t plane_bpb = isl_format_get_layout( in anv_image_fill_surface_state()
49 assert(isl_format_get_layout( in anv_image_fill_surface_state()
Danv_formats.c459 isl_format_get_layout(anv_format->planes[i].isl_format); in anv_format_has_npot_plane()
503 isl_format_get_layout(plane_format.isl_format); in anv_get_format_plane()
632 isl_format_get_layout(plane_format.isl_format)->txc == ISL_TXC_ASTC) in anv_get_image_format_features2()
768 isl_format_get_layout(plane_format.isl_format); in anv_get_image_format_features2()
1165 isl_format_get_layout(img_isl_fmt); in anv_formats_are_compatible()
1167 isl_format_get_layout(img_view_isl_fmt); in anv_formats_are_compatible()
1587 isl_format_get_layout(format->planes[0].isl_format); in anv_get_image_format_properties()
Danv_buffer_view.c49 const uint32_t format_bs = isl_format_get_layout(format.isl_format)->bpb / 8; in anv_CreateBufferView()
/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()
133 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_is_format_supported()
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c214 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in get_fast_clear_rect()
287 switch (isl_format_get_layout(surf->format)->bpb) { in get_fast_clear_rect()
300 x_align = isl_format_get_layout(ccs_format)->bw * 16; in get_fast_clear_rect()
301 y_align = isl_format_get_layout(ccs_format)->bh * 32 / in get_fast_clear_rect()
302 isl_format_get_layout(ccs_format)->bpb; in get_fast_clear_rect()
537 isl_format_get_layout(surf->surf->format); in blorp_clear_supports_blitter()
608 } else if (isl_format_get_layout(format)->bpb % 3 == 0) { in blorp_clear()
752 isl_format_get_layout(params.dst.surf.format)->bpb / 8; in blorp_clear()
862 isl_format_get_layout(wide_format)->bpb / 8; in blorp_clear_stencil_as_rgba()
1237 isl_format_get_layout(params.dst.aux_surf.format); in blorp_ccs_resolve()
[all …]
Dblorp_blit.c865 isl_format_get_layout(key->src_format); in bit_cast_color()
867 isl_format_get_layout(key->dst_format); in bit_cast_color()
1779 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in get_red_format_for_rgb_format()
1839 assert(isl_format_get_layout(red_format)->channels.r.type == in surf_fake_rgb_with_red()
1840 isl_format_get_layout(info->view.format)->channels.r.type); in surf_fake_rgb_with_red()
1841 assert(isl_format_get_layout(red_format)->channels.r.bits == in surf_fake_rgb_with_red()
1842 isl_format_get_layout(info->view.format)->channels.r.bits); in surf_fake_rgb_with_red()
1855 128 / (isl_format_get_layout(red_format)->bpb / 8); in surf_fake_rgb_with_red()
2110 if (isl_format_get_layout(params->dst.view.format)->bpb % 3 == 0) { in try_blorp_blit()
2483 isl_format_get_layout(dst_surf->format); in blorp_copy_supports_blitter()
[all …]
/external/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()
/external/mesa3d/src/intel/vulkan_hasvk/
Danv_nir_lower_ycbcr_textures.c257 y_isl_layout = isl_format_get_layout(format->planes[p].isl_format); in anv_nir_lower_ycbcr_textures_instr()
291 isl_format_get_layout(plane_format->isl_format); in anv_nir_lower_ycbcr_textures_instr()
/external/mesa3d/src/intel/common/
Dintel_tiled_render.h68 const struct isl_format_layout *layout = isl_format_get_layout(surf->format); in intel_calculate_surface_pixel_size()
/external/mesa3d/src/intel/isl/tests/
Disl_surf_get_image_range_B_tile_test.c27 return (isl_format_get_layout(surf->format)->bpb / 8) * in surf_data_size()

123