summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-05-15 15:57:39 -0700
committerNanley Chery <[email protected]>2019-10-28 10:47:05 -0700
commit4021a3925c780643e0b402c5b20ddf7b6b780c09 (patch)
tree202b8d41a31c2083bba4ee3b7a34a08d7fe5913e /src/intel
parentd90bffaef8b0ff3bc8736a1ac30afe7390eeac29 (diff)
intel/blorp: Use surf instead of aux_surf for image dimensions
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/blorp/blorp_clear.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c
index 4c33fa2a372..c5ae13a6908 100644
--- a/src/intel/blorp/blorp_clear.c
+++ b/src/intel/blorp/blorp_clear.c
@@ -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;