/third_party/mesa3d/src/intel/isl/ |
D | isl.h | 1916 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_is_compressed() local 1918 return fmtl->txc != ISL_TXC_NONE; in isl_format_is_compressed() 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->bw == 1 && fmtl->bh == 1 && fmtl->bd == 1; in isl_format_block_is_1x1x1() [all …]
|
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->bh, in isl_extent3d_el_to_sa() [all …]
|
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 = isl_format_get_layout(info->format); in isl_calc_phys_level0_extent_sa() local 1075 assert(fmtl->bw == 1 && fmtl->bh == 1); in isl_calc_phys_level0_extent_sa() [all …]
|
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->bpb == 32 || fmtl->bpb == 64 || fmtl->bpb == 128; in isl_format_supports_ccs_d() 1009 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt); in isl_format_has_channel_type() local 1011 return fmtl->channels.r.type == type || in isl_format_has_channel_type() [all …]
|
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()
|
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()
|
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/ |
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()
|
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->bw) + x0_el) * cpp; in tile_extents() 2211 *y2_el = DIV_ROUND_UP(box->y + box->height, fmtl->bh) + y0_el; in tile_extents() [all …]
|
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()
|
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/ |
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->channels.r.type) { in convert_color_for_store()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
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()
|
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->bpb / 8; in crocus_map_direct() [all …]
|
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()
|
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()
|
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/ |
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 …]
|
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/ |
D | dtfmttst.cpp | 3771 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()
|
/third_party/mesa3d/src/intel/vulkan/ |
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()
|