From: Emma Anholt Date: Mon, 3 Apr 2023 23:06:13 +0000 (-0700) Subject: tu/perfetto: s/MRTs/attachment_count/ in traces. X-Git-Tag: upstream/23.3.3~9955 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3e8aeb2e9efb187b25a729e247eac168cd8e8f7;p=platform%2Fupstream%2Fmesa.git 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: --- 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'),