radv: Use getter instead of setter to extract value.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 16 Aug 2020 20:38:22 +0000 (22:38 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sun, 16 Aug 2020 23:40:03 +0000 (23:40 +0000)
commit50b039590e19d07607ae0714ebffeed6d4f182d5
tree15c7b6fd7855db1d005f4c8c0cf609ae19690c2f
parent09196355b2b2b6a2d3935eb3c43fe784d226426a
radv: Use getter instead of setter to extract value.

Oops ...

Fixes: 64768111c30 "radv: Handle slightly different image dimensions."
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3417
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6337>
src/amd/vulkan/radv_image.c