anv: Refactor anv_image_get_compression_state_addr
authorChad Versace <chad@kiwitree.net>
Tue, 15 Dec 2020 06:02:27 +0000 (22:02 -0800)
committerchadversary <chad@kiwitree.net>
Tue, 9 Mar 2021 18:42:20 +0000 (18:42 +0000)
commit1ef0fd3b70965609ade283477efdab985b27a86e
tree32eaebee531229c34c2d49fce60adc21271876a9
parent22ac3d74e0c3ef3792cf0463b5276815e5b8e9ea
anv: Refactor anv_image_get_compression_state_addr

Reduces noise in the path that introduces anv_image_mem_range.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8097>
src/intel/vulkan/anv_private.h