intel/tools: Fix detection of enabled shader stages.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 10 Nov 2017 23:36:22 +0000 (15:36 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 12 Nov 2017 08:16:40 +0000 (00:16 -0800)
commit9a0465b3a3a1a6e8beda7a59506c2e1a1aae776f
tree035d1afc5e2450b19708f4e78b9efeb7cb5ecb41
parentb99fb1a04dbec34e43525615d99b683271241ffe
intel/tools: Fix detection of enabled shader stages.

We renamed "Function Enable" to "Enable", which broke our detection
of whether shaders are enabled or not.  So, we'd see a bunch of HS/DS
packets with program offsets of 0, and think that was a valid TCS/TES.

Fixes: c032cae9ff77e (genxml: Rename "Function Enable" to "Enable".)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/aubinator_error_decode.c