Searched refs:fmtl (Results 1 - 25 of 34) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/intel/isl/
H A Disl_gfx8.c103 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_gfx8_choose_image_alignment_el
104 if (fmtl->txc == ISL_TXC_CCS) {
112 *image_align_el = isl_extent3d(256 / fmtl->bw, 128 / fmtl->bh, 1);
177 fmtl->bpb == 32 && info->samples == 1) {
H A Disl_gfx9.c39 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:gfx9_calc_std_image_alignment_sa
43 const uint32_t bpb = fmtl->bpb;
110 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_gfx9_choose_image_alignment_el
111 if (fmtl->txc == ISL_TXC_CCS) {
118 *image_align_el = isl_extent3d(128 / fmtl->bw, 64 / fmtl->bh, 1);
H A Disl_gfx12.c94 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_gfx125_choose_image_alignment_el
112 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb,
150 } else if (!isl_is_pow2(fmtl->bpb)) {
174 *image_align_el = isl_extent3d(128 * 8 / fmtl->bpb, 4, 1);
189 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_gfx12_choose_image_alignment_el
190 if (fmtl->txc == ISL_TXC_CCS) {
H A Disl_priv.h139 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_extent3d_sa_to_el
141 assert(extent_sa.w % fmtl->bw == 0);
142 assert(extent_sa.h % fmtl->bh == 0);
143 assert(extent_sa.d % fmtl->bd == 0);
146 .w = extent_sa.w / fmtl->bw,
147 .h = extent_sa.h / fmtl->bh,
148 .d = extent_sa.d / fmtl->bd,
155 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_extent3d_el_to_sa
158 .w = extent_el.w * fmtl->bw,
159 .h = extent_el.h * fmtl
[all...]
H A Disl.h1863 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_is_compressed
1865 return fmtl->txc != ISL_TXC_NONE;
1899 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_is_mcs
1901 return fmtl->txc == ISL_TXC_MCS;
1916 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_is_yuv
1918 return fmtl->colorspace == ISL_COLORSPACE_YUV;
1924 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_block_is_1x1x1
1926 return fmtl->bw == 1 && fmtl->bh == 1 && fmtl
1943 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_is_rgb
1954 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_is_rgbx
2438 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_image_alignment_sa
2451 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_logical_level0_el
2465 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_phys_level0_el
2488 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_row_pitch_el
2519 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_array_pitch_sa_rows
2764 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_tiling_get_intratile_offset_sa
[all...]
H A Disl.c540 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_color_value_is_zero
543 if (fmtl->channels.c.bits && value.u32[i] != 0) \
560 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_color_value_is_zero_one
563 if (fmtl->channels.c.bits && value.field[i] != 0 && value.field[i] != 1) \
830 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_choose_image_alignment_el
831 if (fmtl->txc == ISL_TXC_MCS) {
961 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_phys_level0_extent_sa
1016 assert(fmtl->bw == 1 && fmtl->bh == 1);
1049 if (fmtl
1098 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_array_pitch_el_rows_gfx4_2d
1274 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_phys_total_extent_el_gfx4_2d
1317 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_phys_total_extent_el_gfx4_3d
1384 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_phys_total_extent_el_gfx6_stencil_hiz
1446 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_phys_total_extent_el_gfx9_1d
1564 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format); local in function:isl_calc_row_pitch_alignment
1608 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_linear_min_row_pitch
1621 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format); local in function:isl_calc_tiled_min_row_pitch
1743 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_surf_init_s
1941 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_tile_info
2596 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:get_image_offset_sa_gfx6_stencil_hiz
2744 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_image_offset_el
2774 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_image_offset_B_tile_sa
2806 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_image_offset_B_tile_el
2856 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_image_range_B_tile
2958 const struct isl_format_layout *fmtl = local in function:isl_surf_get_uncompressed_surf
[all...]
H A Disl_format.c717 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_format_supports_sampling
721 if (fmtl->txc == ISL_TXC_ETC1 || fmtl->txc == ISL_TXC_ETC2)
730 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_format_supports_sampling
734 if (fmtl->txc == ISL_TXC_ASTC)
737 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_format_supports_sampling
745 if (fmtl->txc == ISL_TXC_ASTC || fmtl->txc == ISL_TXC_FXT1)
836 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_format_supports_ccs_d
838 return fmtl
951 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_has_channel_type
1001 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_has_color_component
1023 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_get_num_channels
1210 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_color_value_pack
1319 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_color_value_unpack
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/isl/
H A Disl_gen9.c39 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:gen9_calc_std_image_alignment_sa
43 const uint32_t bpb = fmtl->bpb;
110 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_gen9_choose_image_alignment_el
111 if (fmtl->txc == ISL_TXC_CCS) {
118 *image_align_el = isl_extent3d(128 / fmtl->bw, 64 / fmtl->bh, 1);
H A Disl_gen8.c103 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_gen8_choose_image_alignment_el
104 if (fmtl->txc == ISL_TXC_CCS) {
112 *image_align_el = isl_extent3d(256 / fmtl->bw, 128 / fmtl->bh, 1);
H A Disl.h1516 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_is_compressed
1518 return fmtl->txc != ISL_TXC_NONE;
1552 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_is_yuv
1554 return fmtl->colorspace == ISL_COLORSPACE_YUV;
1560 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_block_is_1x1x1
1562 return fmtl->bw == 1 && fmtl->bh == 1 && fmtl->bd == 1;
1579 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_is_rgb
1581 return fmtl
1590 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_is_rgbx
1881 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_image_alignment_sa
1894 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_logical_level0_el
1908 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_phys_level0_el
1931 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_row_pitch_el
1962 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_array_pitch_sa_rows
2081 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_tiling_get_intratile_offset_sa
[all...]
H A Disl_priv.h139 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_extent3d_sa_to_el
141 assert(extent_sa.w % fmtl->bw == 0);
142 assert(extent_sa.h % fmtl->bh == 0);
143 assert(extent_sa.d % fmtl->bd == 0);
146 .w = extent_sa.w / fmtl->bw,
147 .h = extent_sa.h / fmtl->bh,
148 .d = extent_sa.d / fmtl->bd,
155 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_extent3d_el_to_sa
158 .w = extent_el.w * fmtl->bw,
159 .h = extent_el.h * fmtl
[all...]
H A Disl.c329 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_color_value_is_zero
332 if (fmtl->channels.c.bits && value.u32[i] != 0) \
349 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_color_value_is_zero_one
352 if (fmtl->channels.c.bits && value.field[i] != 0 && value.field[i] != 1) \
611 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_choose_image_alignment_el
612 if (fmtl->txc == ISL_TXC_MCS) {
730 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_phys_level0_extent_sa
785 assert(fmtl->bw == 1 && fmtl->bh == 1);
818 if (fmtl
867 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_array_pitch_el_rows_gen4_2d
1040 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_phys_total_extent_el_gen4_2d
1071 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_phys_total_extent_el_gen4_3d
1136 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_phys_total_extent_el_gen6_stencil_hiz
1196 MAYBE_UNUSED const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_phys_total_extent_el_gen9_1d
1290 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format); local in function:isl_calc_row_pitch_alignment
1310 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_calc_linear_min_row_pitch
1323 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format); local in function:isl_calc_tiled_min_row_pitch
1442 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); local in function:isl_surf_init_s
1591 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_tile_info
2037 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:get_image_offset_sa_gen6_stencil_hiz
2173 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_image_offset_el
2200 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:isl_surf_get_image_offset_B_tile_sa
[all...]
H A Disl_format.c417 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_format_supports_sampling
421 if (fmtl->txc == ISL_TXC_ETC1 || fmtl->txc == ISL_TXC_ETC2)
424 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_format_supports_sampling
428 if (fmtl->txc == ISL_TXC_ASTC)
431 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_format_supports_sampling
435 if (fmtl->txc == ISL_TXC_ASTC)
450 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_format_supports_filtering
454 if (fmtl->txc == ISL_TXC_ETC1 || fmtl
457 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_format_supports_filtering
464 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_format_supports_filtering
542 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_format_supports_ccs_d
648 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_has_channel_type
698 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_has_color_component
720 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:isl_format_get_num_channels
907 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_color_value_pack
1017 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:isl_color_value_unpack
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_formats.c48 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:iris_format_for_usage
63 if (!util_format_has_alpha(pformat) && fmtl->channels.a.type != ISL_VOID) {
129 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:iris_is_format_supported
200 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96;
H A Diris_resource.c569 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:want_ccs_e_for_format
578 if (fmtl->channels.r.bits == 32 && fmtl->channels.r.type == ISL_SFLOAT)
2048 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:tile_extents
2049 const unsigned cpp = fmtl->bpb / 8;
2051 assert(box->x % fmtl->bw == 0);
2052 assert(box->y % fmtl->bh == 0);
2057 *x1_B = (box->x / fmtl->bw + x0_el) * cpp;
2058 *y1_el = box->y / fmtl->bh + y0_el;
2059 *x2_B = (DIV_ROUND_UP(box->x + box->width, fmtl
2153 const struct isl_format_layout *fmtl = local in function:iris_map_direct
2280 const struct isl_format_layout *fmtl = local in function:iris_transfer_map
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_formats.c359 const struct isl_format_layout *fmtl = isl_format_get_layout(info.fmt); local in function:crocus_format_for_usage
386 if (!util_format_has_alpha(pformat) && fmtl->channels.a.type != ISL_VOID) {
462 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:crocus_is_format_supported
549 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96;
H A Dcrocus_resource.c1448 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:tile_extents
1449 const unsigned cpp = fmtl->bpb / 8;
1451 assert(box->x % fmtl->bw == 0);
1452 assert(box->y % fmtl->bh == 0);
1457 *x1_B = (box->x / fmtl->bw + x0_el) * cpp;
1458 *y1_el = box->y / fmtl->bh + y0_el;
1459 *x2_B = (DIV_ROUND_UP(box->x + box->width, fmtl->bw) + x0_el) * cpp;
1460 *y2_el = DIV_ROUND_UP(box->y + box->height, fmtl->bh) + y0_el;
1555 const struct isl_format_layout *fmtl = local in function:crocus_map_direct
1557 const unsigned cpp = fmtl
1684 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:crocus_transfer_map
[all...]
H A Dcrocus_blt.c51 const struct isl_format_layout *fmtl = isl_format_get_layout(dst->surf.format); local in function:blt_set_alpha_to_one
52 unsigned cpp = fmtl->bpb / 8;
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_nir_lower_image_load_store.c293 const struct isl_format_layout *fmtl; member in struct:format_info
301 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:get_format_info
304 .fmtl = fmtl,
307 fmtl->channels.r.bits,
308 fmtl->channels.g.bits,
309 fmtl->channels.b.bits,
310 fmtl->channels.a.bits
370 switch (image.fmtl->channels.r.type) {
526 switch (image.fmtl
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_nir_lower_storage_image.c239 const struct isl_format_layout *fmtl; member in struct:format_info
247 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); local in function:get_format_info
250 .fmtl = fmtl,
253 fmtl->channels.r.bits,
254 fmtl->channels.g.bits,
255 fmtl->channels.b.bits,
256 fmtl->channels.a.bits
316 switch (image.fmtl->channels.r.type) {
470 switch (image.fmtl
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_formats.c410 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:iris_is_format_supported
479 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 &&
480 (fmtl->bpb != 96 || target == PIPE_BUFFER);
H A Diris_resource.c1206 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:tile_extents
1207 const unsigned cpp = fmtl->bpb / 8;
1209 assert(box->x % fmtl->bw == 0);
1210 assert(box->y % fmtl->bh == 0);
1215 *x1_B = (box->x / fmtl->bw + x0_el) * cpp;
1216 *y1_el = box->y / fmtl->bh + y0_el;
1217 *x2_B = (DIV_ROUND_UP(box->x + box->width, fmtl->bw) + x0_el) * cpp;
1218 *y2_el = DIV_ROUND_UP(box->y + box->height, fmtl->bh) + y0_el;
1312 const struct isl_format_layout *fmtl = local in function:iris_map_direct
1314 const unsigned cpp = fmtl
1431 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); local in function:iris_transfer_map
[all...]
H A Diris_clear.c652 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:iris_clear_texture
655 switch (fmtl->bpb) {
/xsrc/external/mit/MesaLib.old/dist/src/intel/blorp/
H A Dblorp_blit.c1706 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:get_red_format_for_rgb_format
1708 switch (fmtl->channels.r.bits) {
1710 switch (fmtl->channels.r.type) {
1723 switch (fmtl->channels.r.type) {
1738 switch (fmtl->channels.r.type) {
2406 get_ccs_compatible_uint_format(const struct isl_format_layout *fmtl) argument
2408 switch (fmtl->format) {
2477 const struct isl_format_layout *fmtl = local in function:blorp_surf_convert_to_uncompressed
2480 assert(fmtl->bw > 1 || fmtl
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/blorp/
H A Dblorp_blit.c1794 const struct isl_format_layout *fmtl = isl_format_get_layout(format); local in function:get_red_format_for_rgb_format
1796 switch (fmtl->channels.r.bits) {
1798 switch (fmtl->channels.r.type) {
1811 switch (fmtl->channels.r.type) {
1826 switch (fmtl->channels.r.type) {
2595 get_ccs_compatible_copy_format(const struct isl_format_layout *fmtl) argument
2597 switch (fmtl->format) {
2706 const struct isl_format_layout *fmtl = local in function:blorp_surf_convert_to_uncompressed
2709 assert(fmtl->bw > 1 || fmtl
[all...]

Completed in 42 milliseconds

12