radeonsi: invalidate buffers which are made resident if needed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 18 May 2017 22:04:26 +0000 (00:04 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Jun 2017 08:04:36 +0000 (10:04 +0200)
commit0c2834c5b225c4913450b8277240cb7015ce9d58
treeb91fea414e544499739781633a4eeb26b3134ed9
parent811756dfd0779187c205f1e89c0d014d29f60866
radeonsi: invalidate buffers which are made resident if needed

When a buffer becomes resident, check if it has been invalidated,
if so update the descriptor and the dirty flag.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c