summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-08-04 19:35:30 +0200
committerNicolai Hähnle <[email protected]>2017-08-22 09:53:34 +0200
commit420c438589c86db1fbb2a0b3c36c04ff5a061e30 (patch)
treeefd0ba4fe2ed71bdfb94a9e1fba344f711e8446d /src/gallium/drivers/radeonsi/si_pipe.h
parent4c3f36ec6b59de2245257c819df7628aaa6bf57b (diff)
radeonsi: log draw and compute state into log context
Also add missing trace emits and CS logging for compute launches. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 9ba1dfbab49..2dca72d7f3c 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -508,6 +508,8 @@ void si_init_cp_dma_functions(struct si_context *sctx);
/* si_debug.c */
void si_auto_log_cs(void *data, struct u_log_context *log);
void si_log_hw_flush(struct si_context *sctx);
+void si_log_draw_state(struct si_context *sctx, struct u_log_context *log);
+void si_log_compute_state(struct si_context *sctx, struct u_log_context *log);
void si_init_debug_functions(struct si_context *sctx);
void si_check_vm_faults(struct r600_common_context *ctx,
struct radeon_saved_cs *saved, enum ring_type ring);