summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2021-05-25 08:00:21 -0400
committerMarge Bot <eric+marge@anholt.net>2021-06-02 00:11:28 +0000
commit2ee0912273859a4ccfea4d160eb1c77c7bf94ad3 (patch)
tree2a9f1f37a3e5b41f7e13469b566d1f0a70dea76c
parentd058ce7e8802b824bdd6a3f2c9ed2bf3b1af38bb (diff)
aux/trace: dump resource for samplerview and surface
this is the most important member Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10974>
-rw-r--r--src/gallium/auxiliary/driver_trace/tr_dump_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/driver_trace/tr_dump_state.c b/src/gallium/auxiliary/driver_trace/tr_dump_state.c
index ad946738a24..65d9a0acc1d 100644
--- a/src/gallium/auxiliary/driver_trace/tr_dump_state.c
+++ b/src/gallium/auxiliary/driver_trace/tr_dump_state.c
@@ -552,6 +552,7 @@ void trace_dump_sampler_view_template(const struct pipe_sampler_view *state,
trace_dump_struct_begin("pipe_sampler_view");
trace_dump_member(format, state, format);
+ trace_dump_member(ptr, state, texture);
trace_dump_member_begin("u");
trace_dump_struct_begin(""); /* anonymous */
@@ -604,6 +605,7 @@ void trace_dump_surface_template(const struct pipe_surface *state,
trace_dump_struct_begin("pipe_surface");
trace_dump_member(format, state, format);
+ trace_dump_member(ptr, state, texture);
trace_dump_member(uint, state, width);
trace_dump_member(uint, state, height);