intel/genxml: Assert that genxml field start and ends are sane.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 7 May 2018 18:14:42 +0000 (11:14 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 8 May 2018 06:06:52 +0000 (23:06 -0700)
commite6fb8196cea78f56dc554eb226b97570ef90355d
tree1af4d9006bac3264f416782e96b7a4dd605e7d8c
parentf83fd929b71660067c53e98219d2e9c04d5d98db
intel/genxml: Assert that genxml field start and ends are sane.

Chris recently fixed a bunch of genxml end < start bugs, as well as
booleans that are wider than a bit.  These are way too easy to write, so
asserting that the fields are sane is a good plan.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/genxml/gen_pack_header.py