mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
intel/blorp: Use isl_surf_get_image_offset_B_tile_el in ccs_ambiguate
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11330>
This commit is contained in:
parent
0eb3d0a8df
commit
3f7f6b878c
1 changed files with 2 additions and 6 deletions
|
|
@ -1309,12 +1309,8 @@ blorp_ccs_ambiguate(struct blorp_batch *batch,
|
|||
}
|
||||
|
||||
uint32_t offset_B, x_offset_el, y_offset_el;
|
||||
isl_surf_get_image_offset_el(surf->aux_surf, level, layer, z,
|
||||
&x_offset_el, &y_offset_el);
|
||||
isl_tiling_get_intratile_offset_el(surf->aux_surf->tiling, aux_fmtl->bpb,
|
||||
surf->aux_surf->row_pitch_B,
|
||||
x_offset_el, y_offset_el,
|
||||
&offset_B, &x_offset_el, &y_offset_el);
|
||||
isl_surf_get_image_offset_B_tile_el(surf->aux_surf, level, layer, z,
|
||||
&offset_B, &x_offset_el, &y_offset_el);
|
||||
params.dst.addr.offset += offset_B;
|
||||
|
||||
const uint32_t width_px =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue