diff options
author | Eric Anholt <[email protected]> | 2015-01-14 09:58:35 +1300 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-03-24 10:39:12 -0700 |
commit | 7bc39c8418ee5de49e3d38aaf5f9e478ff78874c (patch) | |
tree | ed89c164089447f398d5e23c9db0a7bcd5bd98aa /src/gallium/drivers/vc4/vc4_resource.h | |
parent | 4df13f55b6c2cdda82b7909e1b089cc72f4c1151 (diff) |
vc4: Add a dump-the-surface-contents routine.
This has been useful once again while trying to debug stride issues
between render targets and texturing.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_resource.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_resource.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_resource.h b/src/gallium/drivers/vc4/vc4_resource.h index 90b58e137df..b2359f06c9b 100644 --- a/src/gallium/drivers/vc4/vc4_resource.h +++ b/src/gallium/drivers/vc4/vc4_resource.h @@ -112,5 +112,6 @@ void vc4_update_shadow_baselevel_texture(struct pipe_context *pctx, struct pipe_sampler_view *view); void vc4_update_shadow_index_buffer(struct pipe_context *pctx, const struct pipe_index_buffer *ib); +void vc4_dump_surface(struct pipe_surface *psurf); #endif /* VC4_RESOURCE_H */ |