virgl: Add code to accept BGRx_SRGB as RGBx_SRGB
authorGert Wollny <gert.wollny@collabora.com>
Mon, 27 May 2019 14:26:25 +0000 (16:26 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Thu, 20 Jun 2019 06:50:38 +0000 (08:50 +0200)
commit22edafb23942f98b3e805f0871dcad839f20b977
tree281f7ab3cfba981b84c42732b2c88e73fe54d51b
parentd8967b79518c54f6e8a9444819b28e6e70df46bf
virgl: Add code to accept BGRx_SRGB as RGBx_SRGB

This will be enabled in later patches by the emulation tweak.

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