From dd6e7c85d225a80992e58b97faebf5bb088d2078 Mon Sep 17 00:00:00 2001 From: Ryan Neph Date: Fri, 11 Jun 2021 15:03:07 -0700 Subject: [PATCH] vrend: add dbg_bgra debug topic Signed-off-by: Ryan Neph Reviewed-by: Gert Wollny --- src/vrend_debug.c | 1 + src/vrend_debug.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vrend_debug.c b/src/vrend_debug.c index a6e2896..4129643 100644 --- a/src/vrend_debug.c +++ b/src/vrend_debug.c @@ -127,6 +127,7 @@ static const struct debug_named_value vrend_debug_options[] = { {"tweak", dbg_tweak, "Log tweaks"}, {"query", dbg_query, "Log queries"}, {"gles", dbg_gles, "GLES host specific debug"}, + {"bgra", dbg_bgra, "Debug specific to BGRA emulation on GLES hosts"}, {"all", dbg_all, "Enable all debugging output"}, {"guestallow", dbg_allow_guest_override, "Allow the guest to override the debug flags"}, {"khr", dbg_khr, "Enable debug via KHR_debug extension"}, diff --git a/src/vrend_debug.h b/src/vrend_debug.h index 54c9894..481e20f 100644 --- a/src/vrend_debug.h +++ b/src/vrend_debug.h @@ -46,7 +46,8 @@ enum virgl_debug_flags { dbg_tweak = 1 << 10, dbg_query = 1 << 11, dbg_gles = 1 << 12, - dbg_all = (1 << 13) - 1, + dbg_bgra = 1 << 13, + dbg_all = (1 << 14) - 1, dbg_allow_guest_override = 1 << 16, dbg_feature_use = 1 << 17, dbg_khr = 1 << 18,