mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
intel/blorp: Use surf instead of aux_surf for image dimensions
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
d90bffaef8
commit
4021a3925c
1 changed files with 2 additions and 2 deletions
|
|
@ -1006,8 +1006,8 @@ blorp_ccs_resolve(struct blorp_batch *batch,
|
|||
y_scaledown = aux_fmtl->bh / 2;
|
||||
}
|
||||
params.x0 = params.y0 = 0;
|
||||
params.x1 = minify(params.dst.aux_surf.logical_level0_px.width, level);
|
||||
params.y1 = minify(params.dst.aux_surf.logical_level0_px.height, level);
|
||||
params.x1 = minify(params.dst.surf.logical_level0_px.width, level);
|
||||
params.y1 = minify(params.dst.surf.logical_level0_px.height, level);
|
||||
params.x1 = ALIGN(params.x1, x_scaledown) / x_scaledown;
|
||||
params.y1 = ALIGN(params.y1, y_scaledown) / y_scaledown;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue