Mesa (main): aux/trace: trace pipe_screen::is_format_supported better

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 5 19:01:19 UTC 2021


Module: Mesa
Branch: main
Commit: 810305fbed8bc4a3d729e108a89abb8060679a77
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=810305fbed8bc4a3d729e108a89abb8060679a77

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Oct 29 12:09:41 2021 -0400

aux/trace: trace pipe_screen::is_format_supported better

storage_sample_count is important

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13582>

---

 src/gallium/auxiliary/driver_trace/tr_screen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/auxiliary/driver_trace/tr_screen.c b/src/gallium/auxiliary/driver_trace/tr_screen.c
index 81eaff92f3e..643e21dae09 100644
--- a/src/gallium/auxiliary/driver_trace/tr_screen.c
+++ b/src/gallium/auxiliary/driver_trace/tr_screen.c
@@ -252,6 +252,7 @@ trace_screen_is_format_supported(struct pipe_screen *_screen,
    trace_dump_arg(format, format);
    trace_dump_arg(int, target);
    trace_dump_arg(uint, sample_count);
+   trace_dump_arg(uint, storage_sample_count);
    trace_dump_arg(uint, tex_usage);
 
    result = screen->is_format_supported(screen, format, target, sample_count,



More information about the mesa-commit mailing list