summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_screen.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-06-24 10:47:59 -0700
committerChia-I Wu <[email protected]>2019-06-25 12:01:45 -0700
commit74786b3aa3e30d7920121e03914d5802e46d6c6c (patch)
tree0d878c191388efe0db1ccdc05325d7668b518a54 /src/gallium/drivers/virgl/virgl_screen.h
parente93d918b65ecd30b6973dd38b04b5c4324fd53de (diff)
virgl: add VIRGL_DEBUG_XFER
When set, do as requested and skip any transfer optimization. Signed-off-by: Chia-I Wu <[email protected]> Reviewed-By: Gert Wollny <[email protected]> Reviewed-By: Alexandros Frantzis <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_screen.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_screen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_screen.h b/src/gallium/drivers/virgl/virgl_screen.h
index b466c632136..097bba61127 100644
--- a/src/gallium/drivers/virgl/virgl_screen.h
+++ b/src/gallium/drivers/virgl/virgl_screen.h
@@ -33,6 +33,7 @@ enum virgl_debug_flags {
VIRGL_DEBUG_EMULATE_BGRA = 1 << 2,
VIRGL_DEBUG_BGRA_DEST_SWIZZLE = 1 << 3,
VIRGL_DEBUG_SYNC = 1 << 4,
+ VIRGL_DEBUG_XFER = 1 << 5,
};
extern int virgl_debug;