radeonsi: simplify setting resource usage for si_init_temp_resource_from_box
authorMarek Olšák <marek.olsak@amd.com>
Thu, 7 May 2020 00:56:52 +0000 (20:56 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 15 May 2020 22:12:35 +0000 (22:12 +0000)
commit4907bb44c3c9bdeac0077ce8d0a533d3ef685920
tree30a35dacbed196ecf2786e13c8a50556f1ba57a5
parentf57276309b14be8a61e1913ab00dd6e4b1e5e8ce
radeonsi: simplify setting resource usage for si_init_temp_resource_from_box

usage was set twice, once in the function, and then after the function

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4935>
src/gallium/drivers/radeonsi/si_texture.c