diff options
author | Eric Anholt <[email protected]> | 2014-09-18 11:02:59 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-18 11:46:50 -0700 |
commit | 6e39854e23d56e70c5ec68fe97ffce4c5a077183 (patch) | |
tree | f37903ec71680e52f30f3c4b18a1092af66ed9b0 /src/gallium/drivers/vc4/vc4_context.c | |
parent | 019ca99bee14e793751e3460309bf4132ee76225 (diff) |
vc4: Actually implement VC4_DEBUG=cl.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c index 6ecc2cab2ab..5133ecadff4 100644 --- a/src/gallium/drivers/vc4/vc4_context.c +++ b/src/gallium/drivers/vc4/vc4_context.c @@ -216,6 +216,13 @@ vc4_flush(struct pipe_context *pctx) vc4_setup_rcl(vc4); + if (vc4_debug & VC4_DEBUG_CL) { + fprintf(stderr, "BCL:\n"); + vc4_dump_cl(&vc4->bcl, false); + fprintf(stderr, "RCL:\n"); + vc4_dump_cl(&vc4->rcl, true); + } + struct drm_vc4_submit_cl submit; memset(&submit, 0, sizeof(submit)); |