/third_party/mesa3d/src/intel/isl/ |
H A D | isl.h | 1916 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); 1918 return fmtl->txc != ISL_TXC_NONE; 1952 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_mcs() local 1954 return fmtl->txc == ISL_TXC_MCS; in isl_format_is_mcs() 1960 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_hiz() local 1962 return fmtl->txc == ISL_TXC_HIZ; in isl_format_is_hiz() 1977 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_yuv() local 1979 return fmtl->colorspace == ISL_COLORSPACE_YUV; in isl_format_is_yuv() 1985 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_block_is_1x1x1() local 1987 return fmtl in isl_format_block_is_1x1x1() 2004 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); isl_format_is_rgb() local 2015 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); isl_format_is_rgbx() local 2530 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); isl_surf_get_image_alignment_sa() local 2543 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); isl_surf_get_logical_level0_el() local 2557 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); isl_surf_get_phys_level0_el() local 2580 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); isl_surf_get_row_pitch_el() local 2611 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); isl_surf_get_array_pitch_sa_rows() local 2856 const struct isl_format_layout *fmtl = isl_format_get_layout(format); isl_tiling_get_intratile_offset_sa() local [all...] |
H A D | isl_priv.h | 139 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_extent3d_sa_to_el() local 141 assert(extent_sa.w % fmtl->bw == 0); in isl_extent3d_sa_to_el() 142 assert(extent_sa.h % fmtl->bh == 0); in isl_extent3d_sa_to_el() 143 assert(extent_sa.d % fmtl->bd == 0); in isl_extent3d_sa_to_el() 146 .w = extent_sa.w / fmtl->bw, in isl_extent3d_sa_to_el() 147 .h = extent_sa.h / fmtl->bh, in isl_extent3d_sa_to_el() 148 .d = extent_sa.d / fmtl->bd, in isl_extent3d_sa_to_el() 155 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_extent3d_el_to_sa() local 158 .w = extent_el.w * fmtl->bw, in isl_extent3d_el_to_sa() 159 .h = extent_el.h * fmtl in isl_extent3d_el_to_sa() [all...] |
H A D | isl.c | 570 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_color_value_is_zero() local 573 if (fmtl->channels.c.bits && value.u32[i] != 0) \ 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() local 593 if (fmtl->channels.c.bits && value.field[i] != 0 && value.field[i] != 1) \ in isl_color_value_is_zero_one() 860 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_choose_image_alignment_el() local 861 if (fmtl->txc == ISL_TXC_MCS) { in isl_choose_image_alignment_el() 873 } else if (fmtl->txc == ISL_TXC_HIZ) { in isl_choose_image_alignment_el() 919 *image_align_el = isl_extent3d(16 / fmtl->bw, 16 / fmtl->bh, 1); in isl_choose_image_alignment_el() 1020 const struct isl_format_layout *fmtl in isl_calc_phys_level0_extent_sa() local 1157 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); isl_calc_array_pitch_el_rows_gfx4_2d() local 1333 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); isl_calc_phys_total_extent_el_gfx4_2d() local 1376 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); isl_calc_phys_total_extent_el_gfx4_3d() local 1443 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); isl_calc_phys_total_extent_el_gfx6_stencil_hiz() local 1505 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); isl_calc_phys_total_extent_el_gfx9_1d() local 1626 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format); isl_calc_row_pitch_alignment() local 1670 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); isl_calc_linear_min_row_pitch() local 1683 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format); isl_calc_tiled_min_row_pitch() local 1813 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); isl_surf_init_s() local 2011 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); isl_surf_get_tile_info() local 2615 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); get_image_offset_sa_gfx6_stencil_hiz() local 2763 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); isl_surf_get_image_offset_el() local 2793 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); isl_surf_get_image_offset_B_tile_sa() local 2825 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); isl_surf_get_image_offset_B_tile_el() local 2875 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); isl_surf_get_image_range_B_tile() local 2977 const struct isl_format_layout *fmtl = isl_surf_get_uncompressed_surf() local [all...] |
H A D | isl_gfx9.c | 39 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in gfx9_calc_std_image_alignment_sa() local 43 const uint32_t bpb = fmtl->bpb; 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() local 111 if (fmtl->txc == ISL_TXC_CCS) { in isl_gfx9_choose_image_alignment_el() 118 *image_align_el = isl_extent3d(128 / fmtl->bw, 64 / fmtl->bh, 1); in isl_gfx9_choose_image_alignment_el()
|
H A D | isl_format.c | 727 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling() local 731 if (fmtl->txc == ISL_TXC_ETC1 || fmtl->txc == ISL_TXC_ETC2) in isl_format_supports_sampling() 740 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling() local 744 if (fmtl->txc == ISL_TXC_ASTC) in isl_format_supports_sampling() 747 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling() local 755 if (fmtl->txc == ISL_TXC_ASTC || fmtl->txc == ISL_TXC_FXT1) in isl_format_supports_sampling() 858 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_ccs_d() local 866 return fmtl in isl_format_supports_ccs_d() 1009 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); isl_format_has_channel_type() local 1059 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); isl_format_has_color_component() local 1081 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); isl_format_get_num_channels() local 1268 const struct isl_format_layout *fmtl = isl_format_get_layout(format); isl_color_value_pack() local 1365 const struct isl_format_layout *fmtl = isl_format_get_layout(format); isl_color_value_unpack() local [all...] |
H A D | isl_gfx12.c | 113 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx125_choose_image_alignment_el() local 131 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb, in isl_gfx125_choose_image_alignment_el() 169 } else if (!isl_is_pow2(fmtl->bpb)) { in isl_gfx125_choose_image_alignment_el() 193 *image_align_el = isl_extent3d(128 * 8 / fmtl->bpb, 4, 1); 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() local 209 if (fmtl->txc == ISL_TXC_CCS) { in isl_gfx12_choose_image_alignment_el()
|
H A D | isl_gfx8.c | 103 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx8_choose_image_alignment_el() local 104 if (fmtl->txc == ISL_TXC_CCS) { in isl_gfx8_choose_image_alignment_el() 112 *image_align_el = isl_extent3d(256 / fmtl->bw, 128 / fmtl->bh, 1); in isl_gfx8_choose_image_alignment_el() 177 fmtl->bpb == 32 && info->samples == 1) { in isl_gfx8_choose_image_alignment_el()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_formats.c | 48 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_format_for_usage() local 63 if (!util_format_has_alpha(pformat) && fmtl->channels.a.type != ISL_VOID) { in iris_format_for_usage() 133 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_is_format_supported() local 204 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96; in iris_is_format_supported()
|
H A D | iris_resource.c | 618 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in want_ccs_e_for_format() local 628 fmtl->channels.r.bits == 32 && fmtl->channels.r.type == ISL_SFLOAT) in want_ccs_e_for_format() 2199 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents() local 2200 const unsigned cpp = fmtl->bpb / 8; in tile_extents() 2202 assert(box->x % fmtl->bw == 0); in tile_extents() 2203 assert(box->y % fmtl->bh == 0); in tile_extents() 2208 *x1_B = (box->x / fmtl->bw + x0_el) * cpp; in tile_extents() 2209 *y1_el = box->y / fmtl->bh + y0_el; in tile_extents() 2210 *x2_B = (DIV_ROUND_UP(box->x + box->width, fmtl in tile_extents() 2305 const struct isl_format_layout *fmtl = iris_map_direct() local [all...] |
H A D | iris_clear.c | 703 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_clear_texture() local 706 switch (fmtl->bpb) { in iris_clear_texture()
|
H A D | iris_state.c | 2346 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in fill_buffer_surface_state() local 2347 const unsigned cpp = format == ISL_FORMAT_RAW ? 1 : fmtl->bpb / 8; in fill_buffer_surface_state()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_nir_lower_storage_image.c | 239 const struct isl_format_layout *fmtl; member 247 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in get_format_info() local 250 .fmtl = fmtl, in get_format_info() 253 fmtl->channels.r.bits, in get_format_info() 254 fmtl->channels.g.bits, in get_format_info() 255 fmtl->channels.b.bits, in get_format_info() 256 fmtl->channels.a.bits in get_format_info() 316 switch (image.fmtl->channels.r.type) { in convert_color_for_load() 470 switch (image.fmtl in convert_color_for_store() [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_formats.c | 359 const struct isl_format_layout *fmtl = isl_format_get_layout(info.fmt); in crocus_format_for_usage() local 386 if (!util_format_has_alpha(pformat) && fmtl->channels.a.type != ISL_VOID) { in crocus_format_for_usage() 462 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in crocus_is_format_supported() local 549 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96; in crocus_is_format_supported()
|
H A D | crocus_resource.c | 1461 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents() local 1462 const unsigned cpp = fmtl->bpb / 8; in tile_extents() 1464 assert(box->x % fmtl->bw == 0); in tile_extents() 1465 assert(box->y % fmtl->bh == 0); in tile_extents() 1470 *x1_B = (box->x / fmtl->bw + x0_el) * cpp; in tile_extents() 1471 *y1_el = box->y / fmtl->bh + y0_el; in tile_extents() 1472 *x2_B = (DIV_ROUND_UP(box->x + box->width, fmtl->bw) + x0_el) * cpp; in tile_extents() 1473 *y2_el = DIV_ROUND_UP(box->y + box->height, fmtl->bh) + y0_el; in tile_extents() 1568 const struct isl_format_layout *fmtl = in crocus_map_direct() local 1570 const unsigned cpp = fmtl in crocus_map_direct() 1696 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); crocus_transfer_map() local [all...] |
H A D | crocus_blt.c | 51 const struct isl_format_layout *fmtl = isl_format_get_layout(dst->surf.format); in blt_set_alpha_to_one() local 52 unsigned cpp = fmtl->bpb / 8; in blt_set_alpha_to_one()
|
H A D | crocus_clear.c | 749 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in crocus_clear_texture() local 752 switch (fmtl->bpb) { in crocus_clear_texture()
|
H A D | crocus_state.c | 3004 const struct isl_format_layout *fmtl = in crocus_create_surface() local 3009 tile_x_sa /= fmtl->bw; in crocus_create_surface() 3010 tile_y_sa /= fmtl->bh; in crocus_create_surface() 5204 const struct isl_format_layout *fmtl = isl_format_get_layout(isv->view.format); in emit_sampler_view() local 5205 const unsigned cpp = isv->view.format == ISL_FORMAT_RAW ? 1 : fmtl->bpb / 8; in emit_sampler_view() 5245 const struct isl_format_layout *fmtl = isl_format_get_layout(iv->view.format); in emit_image_view() local 5246 const unsigned cpp = iv->view.format == ISL_FORMAT_RAW ? 1 : fmtl->bpb / 8; in emit_image_view()
|
/third_party/mesa3d/src/intel/blorp/ |
H A D | blorp_blit.c | 1794 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in get_red_format_for_rgb_format() local 1796 switch (fmtl->channels.r.bits) { in get_red_format_for_rgb_format() 1798 switch (fmtl->channels.r.type) { in get_red_format_for_rgb_format() 1811 switch (fmtl->channels.r.type) { in get_red_format_for_rgb_format() 1826 switch (fmtl->channels.r.type) { in get_red_format_for_rgb_format() 2495 const struct isl_format_layout *fmtl = in blorp_copy_supports_blitter() local 2498 if (fmtl->bpb == 96) { in blorp_copy_supports_blitter() 2679 get_ccs_compatible_copy_format(const struct isl_format_layout *fmtl) in get_ccs_compatible_copy_format() argument 2681 switch (fmtl->format) { in get_ccs_compatible_copy_format() 2790 const struct isl_format_layout *fmtl in blorp_surf_convert_to_uncompressed() local [all...] |
H A D | blorp_genX_exec.h | 2344 xy_color_depth(const struct isl_format_layout *fmtl) in xy_color_depth() argument 2346 switch (fmtl->bpb) { in xy_color_depth() 2439 const struct isl_format_layout *fmtl = in blorp_xy_block_copy_blt() 2442 if (fmtl->bpb == 96) { in blorp_xy_block_copy_blt() 2459 blt.ColorDepth = xy_color_depth(fmtl); in blorp_xy_block_copy_blt()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | dtfmttst.cpp | 3779 // fmtf, fmtl, fmtm, fmts; in Test6726() 3785 DateFormat* fmtl = DateFormat::createDateTimeInstance(DateFormat::LONG, DateFormat::FULL, loc); in Test6726() local 3788 if (fmtf == NULL || fmtl == NULL || fmtm == NULL || fmts == NULL) { in Test6726() 3792 delete fmtl; in Test6726() 3799 strl = fmtl->format(dt, strl); in Test6726() 3814 delete fmtl; in Test6726()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_private.h | 380 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in vk_to_isl_color_with_format() local 384 if (fmtl->channels.c.bits) \ in vk_to_isl_color_with_format()
|