diff options
author | Eric Anholt <[email protected]> | 2014-10-17 09:43:54 +0100 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-10-17 13:13:43 +0100 |
commit | 9ebfb3014ea6d2bde9d4322f2537f21be97b280b (patch) | |
tree | a8ebabfd2ac90db3e3cad03b2f9896b76e66ca89 /src/gallium/drivers/vc4/vc4_context.c | |
parent | 1f7048419ed6ad4d25e89efa885fdc58d36c4213 (diff) |
vc4: Make some assertions about how many flushes/EOFs the simulator sees.
This caught the previous commit's bug in the kernel validator.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c index 7779c461c76..cc57486e103 100644 --- a/src/gallium/drivers/vc4/vc4_context.c +++ b/src/gallium/drivers/vc4/vc4_context.c @@ -273,9 +273,9 @@ vc4_flush(struct pipe_context *pctx) if (vc4_debug & VC4_DEBUG_CL) { fprintf(stderr, "BCL:\n"); - vc4_dump_cl(&vc4->bcl, false); + vc4_dump_cl(vc4->bcl.base, vc4->bcl.end - vc4->bcl.base, false); fprintf(stderr, "RCL:\n"); - vc4_dump_cl(&vc4->rcl, true); + vc4_dump_cl(vc4->rcl.base, vc4->rcl.end - vc4->rcl.base, true); } struct drm_vc4_submit_cl submit; |