mesa/st: Only care about the uploader if it was used.
authorMathias Fröhlich <mathias.froehlich@web.de>
Thu, 1 Nov 2018 18:03:26 +0000 (19:03 +0100)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Mon, 26 Nov 2018 06:57:09 +0000 (07:57 +0100)
commit65332aff29b26ce2cf277e4c753eb53844038e1e
tree48bdaeaad1a45c576b8368d47cd76c7b520e81f9
parent927ce66b391523cc5ac58b36efdac31c4629fb86
mesa/st: Only care about the uploader if it was used.

In st_atom_array, we only need to care for unmapping the upload buffer
if we actually used it.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/state_tracker/st_atom_array.c