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,