• Home
  • Raw
  • Download

Lines Matching refs:surf

82                             const struct blorp_surf *surf,  in brw_blorp_surface_info_init()  argument
88 assert(level < surf->surf->levels); in brw_blorp_surface_info_init()
89 assert(layer < MAX2(surf->surf->logical_level0_px.depth >> level, in brw_blorp_surface_info_init()
90 surf->surf->logical_level0_px.array_len)); in brw_blorp_surface_info_init()
95 format = surf->surf->format; in brw_blorp_surface_info_init()
97 info->surf = *surf->surf; in brw_blorp_surface_info_init()
98 info->addr = surf->addr; in brw_blorp_surface_info_init()
100 info->aux_usage = surf->aux_usage; in brw_blorp_surface_info_init()
102 info->aux_surf = *surf->aux_surf; in brw_blorp_surface_info_init()
103 info->aux_addr = surf->aux_addr; in brw_blorp_surface_info_init()
106 info->clear_color = surf->clear_color; in brw_blorp_surface_info_init()
107 info->clear_color_addr = surf->clear_color_addr; in brw_blorp_surface_info_init()
127 info->view.array_len = MAX2(info->surf.logical_level0_px.depth, in brw_blorp_surface_info_init()
128 info->surf.logical_level0_px.array_len); in brw_blorp_surface_info_init()
131 (info->surf.dim == ISL_SURF_DIM_3D || in brw_blorp_surface_info_init()
132 info->surf.msaa_layout == ISL_MSAA_LAYOUT_ARRAY)) { in brw_blorp_surface_info_init()
154 if (surf->tile_x_sa || surf->tile_y_sa) { in brw_blorp_surface_info_init()
156 assert(info->surf.dim == ISL_SURF_DIM_2D); in brw_blorp_surface_info_init()
157 assert(info->surf.samples == 1); in brw_blorp_surface_info_init()
158 assert(info->surf.levels == 1); in brw_blorp_surface_info_init()
159 assert(info->surf.logical_level0_px.array_len == 1); in brw_blorp_surface_info_init()
162 info->tile_x_sa = surf->tile_x_sa; in brw_blorp_surface_info_init()
163 info->tile_y_sa = surf->tile_y_sa; in brw_blorp_surface_info_init()
170 info->surf.logical_level0_px.w += surf->tile_x_sa; in brw_blorp_surface_info_init()
171 info->surf.logical_level0_px.h += surf->tile_y_sa; in brw_blorp_surface_info_init()
172 info->surf.phys_level0_sa.w += surf->tile_x_sa; in brw_blorp_surface_info_init()
173 info->surf.phys_level0_sa.h += surf->tile_y_sa; in brw_blorp_surface_info_init()
406 blorp_hiz_op(struct blorp_batch *batch, struct blorp_surf *surf, in blorp_hiz_op() argument
435 brw_blorp_surface_info_init(batch, &params.depth, surf, level, in blorp_hiz_op()
436 layer, surf->surf->format, true); in blorp_hiz_op()
464 params.x1 = minify(params.depth.surf.logical_level0_px.width, in blorp_hiz_op()
466 params.y1 = minify(params.depth.surf.logical_level0_px.height, in blorp_hiz_op()
473 params.depth.surf.logical_level0_px.width = params.x1; in blorp_hiz_op()
474 params.depth.surf.logical_level0_px.height = params.y1; in blorp_hiz_op()
506 assert(minify(params.depth.surf.logical_level0_px.width, in blorp_hiz_op()
508 assert(minify(params.depth.surf.logical_level0_px.height, in blorp_hiz_op()
512 params.dst.surf.samples = params.depth.surf.samples; in blorp_hiz_op()
513 params.dst.surf.logical_level0_px = params.depth.surf.logical_level0_px; in blorp_hiz_op()
515 isl_format_get_depth_format(surf->surf->format, false); in blorp_hiz_op()
516 params.num_samples = params.depth.surf.samples; in blorp_hiz_op()