virgl: factor out format host bits check
authorGert Wollny <gert.wollny@collabora.com>
Fri, 12 Apr 2019 07:52:31 +0000 (09:52 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Thu, 20 Jun 2019 06:50:38 +0000 (08:50 +0200)
commit28dc096e15fcf072a70a434297b2e00882a6136d
treecab42d15636ec64e3043a0cd51cb3f1d8e6b3f4f
parent30eb1fdc51d96d443a755138acc425da9e949466
virgl: factor out format host bits check

This will make it a single location when we want to replace a format.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_screen.c