lima/parser: Add RSW parsing
[mesa.git] / src / gallium / drivers / lima / lima_util.c
index 2d0198c7f231b6b1873f1e5e48c42841840018b1..706529483bb4d7971a0181bc513b599b529f47e1 100644 (file)
@@ -84,6 +84,13 @@ lima_dump_plbu_command_stream_print(void *data, int size, uint32_t start)
       lima_parse_plbu(lima_dump_command_stream, (uint32_t *)data, size, start);
 }
 
+void
+lima_dump_rsw_command_stream_print(void *data, int size, uint32_t start)
+{
+   if (lima_dump_command_stream)
+      lima_parse_render_state(lima_dump_command_stream, (uint32_t *)data, size, start);
+}
+
 void
 lima_dump_command_stream_print(void *data, int size, bool is_float,
                                const char *fmt, ...)