freedreno/a3xx: fix depth/stencil gmem restore

We already multiply by bytes per pixel for this, so f3ba7611 broke
mem2gmem for depth/stencil.  Drop the now-redundant mutiply by cpp.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
Rob Clark 2014-05-21 15:41:25 -04:00
parent b11d345ab0
commit b81de5352d
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ emit_mrt(struct fd_ringbuffer *ring, unsigned nr_bufs,
stride = bin_w * rsc->cpp;
if (bases) {
base = bases[i] * rsc->cpp;
base = bases[i];
}
} else {
stride = slice->pitch * rsc->cpp;