virgl: Always enable emulated BGRA and swizzling unless specifically told not to

Graphics / Mesa 3D Graphics Library / Mesa - Rohan Garg [collabora.com] - 26 October 2020 15:01 UTC

The emulation is turned on by default only for GLES hosts when the host does not support the BGRA/RGBA external/internal format combination.

This can be turned off by setting VIRGL_DEBUG=noemubgra,nobgraswz environment variable.

6f68cacf619 virgl: Always enable emulated BGRA and swizzling unless specifically told not to
src/gallium/drivers/virgl/virgl_driinfo.h.in | 4 ++--
src/gallium/drivers/virgl/virgl_screen.c | 11 +++++-----
src/gallium/drivers/virgl/virgl_screen.h | 4 ++--
src/util/00-mesa-defaults.conf | 33 ----------------------------
4 files changed, 10 insertions(+), 42 deletions(-)

Upstream: cgit.freedesktop.org


  • Share