diff options
author | Chia-I Wu <[email protected]> | 2019-06-24 10:45:36 -0700 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2019-06-25 12:01:43 -0700 |
commit | e93d918b65ecd30b6973dd38b04b5c4324fd53de (patch) | |
tree | 48f0a960cedc65f784809d360dfd20034f335c36 /src/gallium/drivers/virgl/virgl_screen.c | |
parent | 119b5701e1466450031a0acf627059ee4e643395 (diff) |
virgl: add VIRGL_DEBUG_SYNC
When set, wait after every each flush.
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.c')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index 684a2f98546..08e7fbe8b54 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -45,6 +45,7 @@ static const struct debug_named_value debug_options[] = { { "tgsi", VIRGL_DEBUG_TGSI, NULL }, { "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" }, DEBUG_NAMED_VALUE_END }; DEBUG_GET_ONCE_FLAGS_OPTION(virgl_debug, "VIRGL_DEBUG", debug_options, 0) |