OSDN Git Service

gallium: make the python scripts for format parsing not fail on new formats
authorRoland Scheidegger <sroland@vmware.com>
Mon, 29 Mar 2010 23:33:28 +0000 (01:33 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 29 Mar 2010 23:33:28 +0000 (01:33 +0200)
commit4e9690f00ca67e42e31367c50f9c216ad10ef553
tree312f0696dda3b20bcdc18f39408766dd7fe192fb
parent9de2ee646ad09676817c558a6d02f5b2bb7bb173
gallium: make the python scripts for format parsing not fail on new formats

they won't generate any useful conversion code for some of the new formats
but at least don't assert. Also needed some more hacks so they don't generate
code for some of the new formats, as gcc was not impressed.
Also declare unused channels as void, and change the scripts to not fail if
the first channel happened to be unused.
Needs serious fixing.
src/gallium/auxiliary/util/u_format.csv
src/gallium/auxiliary/util/u_format_access.py
src/gallium/auxiliary/util/u_format_pack.py
src/gallium/auxiliary/util/u_format_parse.py