summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_dump.h
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2015-07-04 13:18:11 +0200
committerMarek Olšák <marek.olsak@amd.com>2015-07-22 23:56:00 +0200
commit2d8213bfa9023b47a5fd6599596e1b02fdcdd4f6 (patch)
treebb85fd8384a0ec5f17342a3370405b962bb00474 /src/gallium/auxiliary/util/u_dump.h
parent8141b4cee514bb673e394f6fbe2cbe02e5b0faf2 (diff)
downloadexternal_mesa3d-2d8213bfa9023b47a5fd6599596e1b02fdcdd4f6.zip
external_mesa3d-2d8213bfa9023b47a5fd6599596e1b02fdcdd4f6.tar.gz
external_mesa3d-2d8213bfa9023b47a5fd6599596e1b02fdcdd4f6.tar.bz2
gallium/util: improve dump functions
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/util/u_dump.h')
-rw-r--r--src/gallium/auxiliary/util/u_dump.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_dump.h b/src/gallium/auxiliary/util/u_dump.h
index 3ddf518..2598851 100644
--- a/src/gallium/auxiliary/util/u_dump.h
+++ b/src/gallium/auxiliary/util/u_dump.h
@@ -88,14 +88,16 @@ util_dump_tex_filter(unsigned value, boolean shortened);
const char *
util_dump_query_type(unsigned value, boolean shortened);
+const char *
+util_dump_prim_mode(unsigned value, boolean shortened);
+
/*
* p_state.h, through a FILE
*/
void
-util_dump_template(FILE *stream,
- const struct pipe_resource *templat);
+util_dump_resource(FILE *stream, const struct pipe_resource *state);
void
util_dump_rasterizer_state(FILE *stream,
@@ -157,10 +159,20 @@ void
util_dump_image_view(FILE *stream, const struct pipe_image_view *state);
void
+util_dump_sampler_view(FILE *stream, const struct pipe_sampler_view *state);
+
+void
util_dump_transfer(FILE *stream,
const struct pipe_transfer *state);
void
+util_dump_constant_buffer(FILE *stream,
+ const struct pipe_constant_buffer *state);
+
+void
+util_dump_index_buffer(FILE *stream, const struct pipe_index_buffer *state);
+
+void
util_dump_vertex_buffer(FILE *stream,
const struct pipe_vertex_buffer *state);
@@ -169,6 +181,10 @@ util_dump_vertex_element(FILE *stream,
const struct pipe_vertex_element *state);
void
+util_dump_stream_output_target(FILE *stream,
+ const struct pipe_stream_output_target *state);
+
+void
util_dump_draw_info(FILE *stream, const struct pipe_draw_info *state);
void