Home
last modified time | relevance | path

Searched refs:fmtl (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/intel/isl/
Disl.h1863 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_compressed() local
1865 return fmtl->txc != ISL_TXC_NONE; in isl_format_is_compressed()
1899 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_mcs() local
1901 return fmtl->txc == ISL_TXC_MCS; in isl_format_is_mcs()
1916 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_yuv() local
1918 return fmtl->colorspace == ISL_COLORSPACE_YUV; in isl_format_is_yuv()
1924 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_block_is_1x1x1() local
1926 return fmtl->bw == 1 && fmtl->bh == 1 && fmtl->bd == 1; in isl_format_block_is_1x1x1()
1943 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_rgb() local
1945 return fmtl->channels.r.bits > 0 && in isl_format_is_rgb()
[all …]
Disl_priv.h139 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->bh, in isl_extent3d_el_to_sa()
[all …]
Disl_gfx9.c39 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()
Disl.c540 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_color_value_is_zero() local
543 if (fmtl->channels.c.bits && value.u32[i] != 0) \ 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() local
563 if (fmtl->channels.c.bits && value.field[i] != 0 && value.field[i] != 1) \ in isl_color_value_is_zero_one()
830 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_choose_image_alignment_el() local
831 if (fmtl->txc == ISL_TXC_MCS) { 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() local
1016 assert(fmtl->bw == 1 && fmtl->bh == 1); in isl_calc_phys_level0_extent_sa()
1049 if (fmtl->bd > 1) { 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() local
[all …]
Disl_gfx12.c94 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx125_choose_image_alignment_el() local
112 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb, in isl_gfx125_choose_image_alignment_el()
150 } else if (!isl_is_pow2(fmtl->bpb)) { in isl_gfx125_choose_image_alignment_el()
174 *image_align_el = isl_extent3d(128 * 8 / fmtl->bpb, 4, 1); 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() local
190 if (fmtl->txc == ISL_TXC_CCS) { in isl_gfx12_choose_image_alignment_el()
Disl_gfx8.c103 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()
Disl_format.c717 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling() local
721 if (fmtl->txc == ISL_TXC_ETC1 || fmtl->txc == ISL_TXC_ETC2) in isl_format_supports_sampling()
730 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling() local
734 if (fmtl->txc == ISL_TXC_ASTC) in isl_format_supports_sampling()
737 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_sampling() local
745 if (fmtl->txc == ISL_TXC_ASTC || fmtl->txc == ISL_TXC_FXT1) in isl_format_supports_sampling()
836 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in isl_format_supports_ccs_d() local
838 return fmtl->bpb == 32 || fmtl->bpb == 64 || fmtl->bpb == 128; in isl_format_supports_ccs_d()
951 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_has_channel_type() local
953 return fmtl->channels.r.type == type || in isl_format_has_channel_type()
[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() local
63 if (!util_format_has_alpha(pformat) && fmtl->channels.a.type != ISL_VOID) { in iris_format_for_usage()
129 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_is_format_supported() local
200 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96; 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() local
578 if (fmtl->channels.r.bits == 32 && fmtl->channels.r.type == ISL_SFLOAT) in want_ccs_e_for_format()
2048 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents() local
2049 const unsigned cpp = fmtl->bpb / 8; in tile_extents()
2051 assert(box->x % fmtl->bw == 0); in tile_extents()
2052 assert(box->y % fmtl->bh == 0); in tile_extents()
2057 *x1_B = (box->x / fmtl->bw + x0_el) * cpp; in tile_extents()
2058 *y1_el = box->y / fmtl->bh + y0_el; in tile_extents()
2059 *x2_B = (DIV_ROUND_UP(box->x + box->width, fmtl->bw) + x0_el) * cpp; in tile_extents()
2060 *y2_el = DIV_ROUND_UP(box->y + box->height, fmtl->bh) + y0_el; in tile_extents()
[all …]
Diris_clear.c743 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in iris_clear_texture() local
746 switch (fmtl->bpb) { in iris_clear_texture()
Diris_state.c2218 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in fill_buffer_surface_state() local
2219 const unsigned cpp = format == ISL_FORMAT_RAW ? 1 : fmtl->bpb / 8; in fill_buffer_surface_state()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_storage_image.c239 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->channels.r.type) { in convert_color_for_store()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_formats.c359 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()
Dcrocus_resource.c1447 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents() local
1448 const unsigned cpp = fmtl->bpb / 8; in tile_extents()
1450 assert(box->x % fmtl->bw == 0); in tile_extents()
1451 assert(box->y % fmtl->bh == 0); in tile_extents()
1456 *x1_B = (box->x / fmtl->bw + x0_el) * cpp; in tile_extents()
1457 *y1_el = box->y / fmtl->bh + y0_el; in tile_extents()
1458 *x2_B = (DIV_ROUND_UP(box->x + box->width, fmtl->bw) + x0_el) * cpp; in tile_extents()
1459 *y2_el = DIV_ROUND_UP(box->y + box->height, fmtl->bh) + y0_el; in tile_extents()
1554 const struct isl_format_layout *fmtl = in crocus_map_direct() local
1556 const unsigned cpp = fmtl->bpb / 8; in crocus_map_direct()
[all …]
Dcrocus_blt.c51 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()
Dcrocus_clear.c749 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in crocus_clear_texture() local
752 switch (fmtl->bpb) { in crocus_clear_texture()
Dcrocus_state.c2999 const struct isl_format_layout *fmtl = in crocus_create_surface() local
3004 tile_x_sa /= fmtl->bw; in crocus_create_surface()
3005 tile_y_sa /= fmtl->bh; in crocus_create_surface()
5206 const struct isl_format_layout *fmtl = isl_format_get_layout(isv->view.format); in emit_sampler_view() local
5207 const unsigned cpp = isv->view.format == ISL_FORMAT_RAW ? 1 : fmtl->bpb / 8; in emit_sampler_view()
5247 const struct isl_format_layout *fmtl = isl_format_get_layout(iv->view.format); in emit_image_view() local
5248 const unsigned cpp = iv->view.format == ISL_FORMAT_RAW ? 1 : fmtl->bpb / 8; in emit_image_view()
/third_party/mesa3d/src/intel/blorp/
Dblorp_blit.c1794 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()
2595 get_ccs_compatible_copy_format(const struct isl_format_layout *fmtl) in get_ccs_compatible_copy_format() argument
2597 switch (fmtl->format) { in get_ccs_compatible_copy_format()
2706 const struct isl_format_layout *fmtl = in blorp_surf_convert_to_uncompressed() local
2709 assert(fmtl->bw > 1 || fmtl->bh > 1); in blorp_surf_convert_to_uncompressed()
2719 assert(*width % fmtl->bw == 0 || *x + *width == level_width); in blorp_surf_convert_to_uncompressed()
[all …]
/third_party/mesa3d/src/intel/vulkan/
Danv_blorp.c159 const struct isl_format_layout *fmtl = in get_blorp_surf_for_anv_buffer() local
166 if (fmtl->txc == ISL_TXC_ASTC) { in get_blorp_surf_for_anv_buffer()
169 assert(fmtl->bpb == isl_format_get_layout(format)->bpb); in get_blorp_surf_for_anv_buffer()
172 width = DIV_ROUND_UP(width, fmtl->bw); in get_blorp_surf_for_anv_buffer()
173 height = DIV_ROUND_UP(height, fmtl->bh); in get_blorp_surf_for_anv_buffer()
/third_party/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp3771 DateFormat* fmtl = DateFormat::createDateTimeInstance(DateFormat::LONG, DateFormat::FULL, loc); in Test6726() local
3774 if (fmtf == NULL || fmtl == NULL || fmtm == NULL || fmts == NULL) { in Test6726()
3778 delete fmtl; in Test6726()
3785 strl = fmtl->format(dt, strl); in Test6726()
3800 delete fmtl; in Test6726()