radeonsi: re-use 'desc' in si_set_shader_image()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 5 Apr 2017 22:07:31 +0000 (00:07 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 10 Apr 2017 21:05:27 +0000 (23:05 +0200)
commit51d6641700146fc22c66b96ad5841268b1c28468
tree4a5e35f15d8bbb3990979a928d64983db6add675
parenta1c37ff9e4cfea0a645a15634299ef7d55362b09
radeonsi: re-use 'desc' in si_set_shader_image()

No need to compute the offset in the descriptor twice.

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