radv: set writes_memory for global memory stores/atomics
[mesa.git] / src / gallium / auxiliary / util / u_dump.h
index 2598851152b476d43962480b2a47ca22c711b215..8c1a8f3f4ee9fa5b2a445acbbc015c9476b269b5 100644 (file)
@@ -52,45 +52,58 @@ extern "C" {
 
 /*
  * p_defines.h
- *
- * XXX: These functions don't really dump anything -- just translate into
- * strings so a verb better than "dump" should be used instead, in order to
- * free up the namespace to the true dumper functions.
  */
 
 const char *
-util_dump_blend_factor(unsigned value, boolean shortened);
+util_str_blend_factor(unsigned value, boolean shortened);
 
 const char *
-util_dump_blend_func(unsigned value, boolean shortened);
+util_str_blend_func(unsigned value, boolean shortened);
 
 const char *
-util_dump_logicop(unsigned value, boolean shortened);
+util_str_logicop(unsigned value, boolean shortened);
 
 const char *
-util_dump_func(unsigned value, boolean shortened);
+util_str_func(unsigned value, boolean shortened);
 
 const char *
-util_dump_stencil_op(unsigned value, boolean shortened);
+util_str_stencil_op(unsigned value, boolean shortened);
 
 const char *
-util_dump_tex_target(unsigned value, boolean shortened);
+util_str_tex_target(unsigned value, boolean shortened);
 
 const char *
-util_dump_tex_wrap(unsigned value, boolean shortened);
+util_str_tex_wrap(unsigned value, boolean shortened);
 
 const char *
-util_dump_tex_mipfilter(unsigned value, boolean shortened);
+util_str_tex_mipfilter(unsigned value, boolean shortened);
 
 const char *
-util_dump_tex_filter(unsigned value, boolean shortened);
+util_str_tex_filter(unsigned value, boolean shortened);
 
 const char *
-util_dump_query_type(unsigned value, boolean shortened);
+util_str_query_type(unsigned value, boolean shortened);
 
 const char *
-util_dump_prim_mode(unsigned value, boolean shortened);
+util_str_query_value_type(unsigned value, boolean shortened);
 
+const char *
+util_str_prim_mode(unsigned value, boolean shortened);
+
+void
+util_dump_ns(FILE *f, uint64_t time);
+
+void
+util_dump_ptr(FILE *stream, const void *value);
+
+void
+util_dump_query_type(FILE *stream, unsigned value);
+
+void
+util_dump_query_value_type(FILE *stream, unsigned value);
+
+void
+util_dump_transfer_usage(FILE *stream, unsigned value);
 
 /*
  * p_state.h, through a FILE
@@ -158,6 +171,9 @@ util_dump_surface(FILE *stream,
 void
 util_dump_image_view(FILE *stream, const struct pipe_image_view *state);
 
+void
+util_dump_shader_buffer(FILE *stream, const struct pipe_shader_buffer *state);
+
 void
 util_dump_sampler_view(FILE *stream, const struct pipe_sampler_view *state);
 
@@ -169,9 +185,6 @@ 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);
@@ -187,6 +200,9 @@ util_dump_stream_output_target(FILE *stream,
 void
 util_dump_draw_info(FILE *stream, const struct pipe_draw_info *state);
 
+void
+util_dump_grid_info(FILE *stream, const struct pipe_grid_info *state);
+
 void
 util_dump_box(FILE *stream, const struct pipe_box *box);