tu/perfetto: s/MRTs/attachment_count/ in traces.
authorEmma Anholt <emma@anholt.net>
Mon, 3 Apr 2023 23:06:13 +0000 (16:06 -0700)
committerMarge Bot <emma+marge@anholt.net>
Sun, 16 Apr 2023 15:50:49 +0000 (15:50 +0000)
MRTs usually means >1 color buffers, so seeing "2" is surprising when
you're expecing just color and depth.  Makes the output look more Vulkan.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22278>

src/freedreno/vulkan/tu_tracepoints.py

index 5af5ce6..34d04e7 100644 (file)
@@ -72,7 +72,7 @@ begin_end_tp('render_pass',
           ArgStruct(type='const struct tu_tiling_config *', var='tiling')],
     tp_struct=[Arg(type='uint16_t', name='width',        var='fb->width',                                    c_format='%u'),
                Arg(type='uint16_t', name='height',       var='fb->height',                                   c_format='%u'),
-               Arg(type='uint8_t',  name='MRTs',         var='fb->attachment_count',                         c_format='%u'),
+               Arg(type='uint8_t',  name='attachment_count', var='fb->attachment_count',                     c_format='%u'),
             #    Arg(type='uint8_t',  name='samples',      var='fb->samples',                                  c_format='%u'),
                Arg(type='uint16_t', name='numberOfBins', var='tiling->tile_count.width * tiling->tile_count.height', c_format='%u'),
                Arg(type='uint16_t', name='binWidth',     var='tiling->tile0.width',                                  c_format='%u'),