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

Author: Emma Anholt <[email protected]>
Date:   Mon Apr  3 16:06:13 2023 -0700

tu/perfetto: s/MRTs/attachment_count/ in traces.

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/vulkan/tu_tracepoints.py 
b/src/freedreno/vulkan/tu_tracepoints.py
index 5af5ce69159..34d04e75162 100644
--- a/src/freedreno/vulkan/tu_tracepoints.py
+++ b/src/freedreno/vulkan/tu_tracepoints.py
@@ -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'),

Reply via email to