From f3e8aeb2e9efb187b25a729e247eac168cd8e8f7 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Mon, 3 Apr 2023 16:06:13 -0700 Subject: [PATCH] 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: --- 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 5af5ce6..34d04e7 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'), -- 2.7.4