diff options
author | Marek Olšák <[email protected]> | 2015-07-04 13:18:11 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-07-22 23:56:00 +0200 |
commit | 2d8213bfa9023b47a5fd6599596e1b02fdcdd4f6 (patch) | |
tree | bb85fd8384a0ec5f17342a3370405b962bb00474 /src/gallium/auxiliary/util/u_dump.h | |
parent | 8141b4cee514bb673e394f6fbe2cbe02e5b0faf2 (diff) |
gallium/util: improve dump functions
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_dump.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_dump.h | 20 |
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 3ddf518fa2b..2598851152b 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 |