Restore VIRGL_BIND_PREFER_EMULATED_BGRA macro

VIRGL_BIND_PREFER_EMULATED_BGRA macro was removed when
the old BGRA emulation was removed, but that makes src/virgl_hw.h
incompatible with Mesa, which still has a reference to the macro.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/716>
macos/master
Akihiko Odaki 3 years ago committed by Gert Wollny
parent 7e928cf8bd
commit 315bfe7b07
  1. 2
      src/virgl_hw.h

@ -468,7 +468,7 @@ enum virgl_formats {
#define VIRGL_BIND_STAGING (1 << 19)
#define VIRGL_BIND_SHARED (1 << 20)
/* bit (1<<21) reserved for non-functional VIRGL_BIND_PREFER_EMULATED_BGRA */
#define VIRGL_BIND_PREFER_EMULATED_BGRA (1 << 21) /* non-functional */
#define VIRGL_BIND_LINEAR (1 << 22)

Loading…
Cancel
Save