aux/tc: fix staging buffer sizing for texture_subdata
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 12 Sep 2023 12:48:48 +0000 (08:48 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Sep 2023 13:53:31 +0000 (13:53 +0000)
commitb6bc1f85f45d1fea9e8a674dbfa1766b03ad5a9d
tree9e4aef466d2d522c30c74431ebba7845c90bc15a
parent64b49fb501e960f0ddeeb9e9bce459d645f6923d
aux/tc: fix staging buffer sizing for texture_subdata

this is the size of the src data, not the dst data

Fixes: 51ad269198e ("aux/tc: handle stride mismatch during rp-optimized subdata")

Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25180>
src/gallium/auxiliary/util/u_threaded_context.c