Skip to content

bin: add a script to generate pipe_format csv

Luc Ma requested to merge lucmann/mesa:add-script-to-gen-formats-csv into main

What does this MR do and why?

bin: add a script to generate pipe_format csv

We can get lots of information about pipe_formats from
src/util/format/u_format.csv but which does not fully comply with
the order of enum pipe_format. This script merges enum pipe_format
with u_format.csv in the order of enum pipe_format. What's more,
it inserts two extra columns, respectively enum value in decimal
and ones in hex, which could help debugging sometimes and improve
the docs for pipe_formats hopefully.

Signed-off-by: Luc Ma <luc@sietium.com>

Merge request reports