layers: Tweak PV generator to track newly introduced enums separately
authorChris Forbes <chrisforbes@google.com>
Sun, 27 Nov 2016 22:14:17 +0000 (11:14 +1300)
committerChris Forbes <chrisforbes@google.com>
Sun, 27 Nov 2016 22:14:17 +0000 (11:14 +1300)
commit20083d1770a0766ce68016b3ca2fad482291a100
tree10f2e104b6e837ada7cc6feb23632521a7ec6018
parent23cc2186d10d953bfcdfcb9bb73757bc6316893e
layers: Tweak PV generator to track newly introduced enums separately

Within each feature block, we need to generate a helper value for 'all
valid bits'. This worked fine; however, across features blocks an enum
may be used -- for example, core eums used in extension functions.

Previously, we'd clear out all the enums we know about at the feature
boundary, which left various fields unvalidated.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
scripts/parameter_validation_generator.py