ac/parse_ib: Fix parsing output format on VCN5

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34262>
This commit is contained in:
David Rosca 2025-03-28 14:08:38 +01:00 committed by Marge Bot
parent 8d45d3bc3d
commit 5275a88174

View file

@ -1690,11 +1690,11 @@ static void parse_vcn_enc_ib(FILE *f, struct ac_ib_parser *ib)
fprintf(f, " color volume = %s\n", vcn_color_volume(color_volume));
uint32_t color_range = ac_ib_get(ib);
fprintf(f, " color range = %s\n", vcn_color_range(color_range));
uint32_t chroma_location = ac_ib_get(ib);
if (ib->vcn_version >= VCN_5_0_0) {
uint32_t chroma_subsampling = ac_ib_get(ib);
fprintf(f, " chroma subsampling = %s\n", vcn_chroma_subsampling(chroma_subsampling));
}
uint32_t chroma_location = ac_ib_get(ib);
fprintf(f, " chroma location = %s\n", vcn_chroma_location(chroma_location));
uint32_t bit_depth = ac_ib_get(ib);
fprintf(f, " color bit depth = %s\n", vcn_color_bit_depth(bit_depth));