summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/rbug/rbug_context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/rbug/rbug_context.c b/src/gallium/drivers/rbug/rbug_context.c
index 6690c0208bd..96f4ce6b48b 100644
--- a/src/gallium/drivers/rbug/rbug_context.c
+++ b/src/gallium/drivers/rbug/rbug_context.c
@@ -1245,5 +1245,9 @@ rbug_context_create(struct pipe_screen *_screen, struct pipe_context *pipe)
rbug_screen_add_to_list(rb_screen, contexts, rb_pipe);
+ if (debug_get_bool_option("GALLIUM_RBUG_START_BLOCKED", FALSE)) {
+ rb_pipe->draw_blocked = RBUG_BLOCK_BEFORE;
+ }
+
return &rb_pipe->base;
}