/third_party/mesa3d/src/intel/blorp/ |
D | blorp.c | 105 assert(layer < MAX2(surf->surf->logical_level0_px.depth >> level, in brw_blorp_surface_info_init() 106 surf->surf->logical_level0_px.array_len)); in brw_blorp_surface_info_init() 143 info->view.array_len = MAX2(info->surf.logical_level0_px.depth, in brw_blorp_surface_info_init() 144 info->surf.logical_level0_px.array_len); in brw_blorp_surface_info_init() 175 assert(info->surf.logical_level0_px.array_len == 1); in brw_blorp_surface_info_init() 186 info->surf.logical_level0_px.w += surf->tile_x_sa; in brw_blorp_surface_info_init() 187 info->surf.logical_level0_px.h += surf->tile_y_sa; in brw_blorp_surface_info_init() 465 params.x1 = u_minify(params.depth.surf.logical_level0_px.width, in blorp_hiz_op() 467 params.y1 = u_minify(params.depth.surf.logical_level0_px.height, in blorp_hiz_op() 474 params.depth.surf.logical_level0_px.width = params.x1; in blorp_hiz_op() [all …]
|
D | blorp_clear.c | 661 if (params.dst.surf.logical_level0_px.width > max_image_width) { in blorp_clear() 670 assert(params.dst.surf.logical_level0_px.depth == 1); in blorp_clear() 671 assert(params.dst.surf.logical_level0_px.array_len == 1); in blorp_clear() 682 params.dst.surf.logical_level0_px.width = max_fake_rgb_width; in blorp_clear() 793 assert(params.dst.surf.logical_level0_px.width % wide_Bpp == 0); in blorp_clear_stencil_as_rgba() 794 params.dst.surf.logical_level0_px.width /= wide_Bpp; in blorp_clear_stencil_as_rgba() 858 params.dst.surf.logical_level0_px = in blorp_clear_depth_stencil() 859 params.stencil.surf.logical_level0_px; in blorp_clear_depth_stencil() 881 params.dst.surf.logical_level0_px = in blorp_clear_depth_stencil() 882 params.depth.surf.logical_level0_px; in blorp_clear_depth_stencil() [all …]
|
D | blorp_blit.c | 1650 info->surf.levels == 1 && info->surf.logical_level0_px.array_len == 1) in blorp_surf_convert_to_single_slice() 1679 info->surf.logical_level0_px.w += tile_x_px; in blorp_surf_convert_to_single_slice() 1680 info->surf.logical_level0_px.h += tile_y_px; in blorp_surf_convert_to_single_slice() 1701 info->surf.logical_level0_px = info->surf.phys_level0_sa; in blorp_surf_fake_interleaved_msaa() 1739 info->surf.logical_level0_px.width = in blorp_surf_retile_w_to_y() 1740 ALIGN(info->surf.logical_level0_px.width, x_align) * 2; in blorp_surf_retile_w_to_y() 1741 info->surf.logical_level0_px.height = in blorp_surf_retile_w_to_y() 1742 ALIGN(info->surf.logical_level0_px.height, y_align) / 2; in blorp_surf_retile_w_to_y() 1847 info->surf.logical_level0_px.width *= 3; in surf_fake_rgb_with_red() 2118 1.0f / u_minify(params->src.surf.logical_level0_px.width, in try_blorp_blit() [all …]
|
D | blorp_genX_exec.h | 1474 assert(surf.logical_level0_px.height == 1); in blorp_emit_surface_state() 1568 .Width = surface->surf.logical_level0_px.width - 1, in blorp_emit_null_surface_state() 1569 .Height = surface->surf.logical_level0_px.height - 1, in blorp_emit_null_surface_state() 2378 return surf->dim == ISL_SURF_DIM_3D ? surf->logical_level0_px.depth in xy_bcb_surf_depth() 2379 : surf->logical_level0_px.array_len; in xy_bcb_surf_depth() 2474 blt.DestinationSurfaceWidth = dst_surf->logical_level0_px.w - 1; in blorp_xy_block_copy_blt() 2475 blt.DestinationSurfaceHeight = dst_surf->logical_level0_px.h - 1; in blorp_xy_block_copy_blt() 2509 blt.SourceSurfaceWidth = src_surf->logical_level0_px.w - 1; in blorp_xy_block_copy_blt() 2510 blt.SourceSurfaceHeight = src_surf->logical_level0_px.h - 1; in blorp_xy_block_copy_blt()
|
/third_party/mesa3d/src/intel/isl/ |
D | isl_emit_depth_stencil.c | 82 db.Width = info->depth_surf->logical_level0_px.width - 1; in isl_genX() 83 db.Height = info->depth_surf->logical_level0_px.height - 1; in isl_genX() 85 db.Depth = info->depth_surf->logical_level0_px.depth - 1; in isl_genX() 89 db.Width = info->stencil_surf->logical_level0_px.width - 1; in isl_genX() 90 db.Height = info->stencil_surf->logical_level0_px.height - 1; in isl_genX() 92 db.Depth = info->stencil_surf->logical_level0_px.depth - 1; in isl_genX() 193 sb.Width = info->stencil_surf->logical_level0_px.width - 1; in isl_genX() 194 sb.Height = info->stencil_surf->logical_level0_px.height - 1; in isl_genX()
|
D | isl.c | 1815 const struct isl_extent4d logical_level0_px = { in isl_surf_init_s() local 1992 .logical_level0_px = logical_level0_px, in isl_surf_init_s() 2081 .width = surf->logical_level0_px.width, in isl_surf_get_hiz_surf() 2082 .height = surf->logical_level0_px.height, in isl_surf_get_hiz_surf() 2083 .depth = surf->logical_level0_px.depth, in isl_surf_get_hiz_surf() 2085 .array_len = surf->logical_level0_px.array_len, in isl_surf_get_hiz_surf() 2108 assert(surf->logical_level0_px.depth == 1); in isl_surf_get_mcs_surf() 2124 .width = surf->logical_level0_px.width, in isl_surf_get_mcs_surf() 2125 .height = surf->logical_level0_px.height, in isl_surf_get_mcs_surf() 2128 .array_len = surf->logical_level0_px.array_len, in isl_surf_get_mcs_surf() [all …]
|
D | isl_storage_image.c | 233 surf->logical_level0_px.array_len); in isl_surf_fill_image_param() 235 param->size[0] = isl_minify(surf->logical_level0_px.w, view->base_level); in isl_surf_fill_image_param() 238 isl_minify(surf->logical_level0_px.h, view->base_level); in isl_surf_fill_image_param() 241 isl_minify(surf->logical_level0_px.d, view->base_level); in isl_surf_fill_image_param()
|
D | isl_emit_cpb.c | 81 cpb.Width = (info->surf->logical_level0_px.width * 8) - 1; in isl_genX() 82 cpb.Height = (info->surf->logical_level0_px.height * 8) - 1; in isl_genX()
|
D | isl_surface_state.c | 243 assert(info->surf->logical_level0_px.width > 0 && in isl_genX() 244 info->surf->logical_level0_px.height > 0); in isl_genX() 246 s.Width = info->surf->logical_level0_px.width - 1; in isl_genX() 247 s.Height = info->surf->logical_level0_px.height - 1; in isl_genX() 263 (info->surf->logical_level0_px.height % 4) == 1) in isl_genX() 318 s.Depth = info->surf->logical_level0_px.depth - 1; in isl_genX() 496 assert(info->surf->logical_level0_px.array_len == 1); in isl_genX()
|
D | isl.h | 1498 struct isl_extent4d logical_level0_px; member 2545 return isl_extent4d(DIV_ROUND_UP(surf->logical_level0_px.w, fmtl->bw), in isl_surf_get_logical_level0_el() 2546 DIV_ROUND_UP(surf->logical_level0_px.h, fmtl->bh), in isl_surf_get_logical_level0_el() 2547 DIV_ROUND_UP(surf->logical_level0_px.d, fmtl->bd), in isl_surf_get_logical_level0_el() 2548 surf->logical_level0_px.a); in isl_surf_get_logical_level0_el()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_resource.c | 380 return u_minify(res->surf.logical_level0_px.depth, level); in crocus_get_num_logical_layers() 382 return res->surf.logical_level0_px.array_len; in crocus_get_num_logical_layers()
|
D | crocus_state.c | 3007 surf->surf.logical_level0_px = isl_surf_get_logical_level0_el(&surf->surf); in crocus_create_surface() 3012 psurf->width = surf->surf.logical_level0_px.width; in crocus_create_surface() 3013 psurf->height = surf->surf.logical_level0_px.height; in crocus_create_surface()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_blorp.c | 1927 uint32_t level_width = anv_minify(surf.surf->logical_level0_px.w, level); in anv_image_ccs_op() 1928 uint32_t level_height = anv_minify(surf.surf->logical_level0_px.h, level); in anv_image_ccs_op()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_resource.c | 528 return u_minify(res->surf.logical_level0_px.depth, level); in iris_get_num_logical_layers() 530 return res->surf.logical_level0_px.array_len; in iris_get_num_logical_layers()
|
D | iris_state.c | 2775 psurf->width = isl_surf.logical_level0_px.width; in iris_create_surface() 2776 psurf->height = isl_surf.logical_level0_px.height; in iris_create_surface()
|