From 315bfe7b07fcca7f17cc71560f92c43bc73c1b36 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Tue, 22 Feb 2022 21:18:19 +0900 Subject: [PATCH] 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 Reviewed-by: Gert Wollny Part-of: --- src/virgl_hw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virgl_hw.h b/src/virgl_hw.h index 18c48fc..3cab037 100644 --- a/src/virgl_hw.h +++ b/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)