virgl: fixup_readback_format --> fixup_formats
authorGurchetan Singh <gurchetansingh@chromium.org>
Wed, 7 Aug 2019 23:22:16 +0000 (16:22 -0700)
committerGurchetan Singh <gurchetansingh@chromium.org>
Thu, 8 Aug 2019 23:21:57 +0000 (16:21 -0700)
commit3da029ac1a6e159f1e98110beb136d089ff6cf37
tree6e9b462615d99e3e8712867f857d3c0a0b599cd7
parentbf0ca99ec708518e7f5242680e52508c8708362c
virgl: fixup_readback_format --> fixup_formats

This function is generalizable.

Suggested-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
src/gallium/drivers/virgl/virgl_screen.c