From 74786b3aa3e30d7920121e03914d5802e46d6c6c Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 24 Jun 2019 10:47:59 -0700 Subject: virgl: add VIRGL_DEBUG_XFER When set, do as requested and skip any transfer optimization. Signed-off-by: Chia-I Wu Reviewed-By: Gert Wollny Reviewed-By: Alexandros Frantzis --- src/gallium/drivers/virgl/virgl_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/virgl/virgl_screen.c') diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index 08e7fbe8b54..9291c97906f 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -46,6 +46,7 @@ static const struct debug_named_value debug_options[] = { { "emubgra", VIRGL_DEBUG_EMULATE_BGRA, "Enable tweak to emulate BGRA as RGBA on GLES hosts"}, { "bgraswz", VIRGL_DEBUG_BGRA_DEST_SWIZZLE, "Enable tweak to swizzle emulated BGRA on GLES hosts" }, { "sync", VIRGL_DEBUG_SYNC, "Sync after every flush" }, + { "xfer", VIRGL_DEBUG_XFER, "Do not optimize for transfers" }, DEBUG_NAMED_VALUE_END }; DEBUG_GET_ONCE_FLAGS_OPTION(virgl_debug, "VIRGL_DEBUG", debug_options, 0) -- cgit v1.2.3