intel/aubinator_error_decode: Allow for more sections
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 9 Jul 2018 23:00:17 +0000 (16:00 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 9 Jul 2018 23:40:54 +0000 (16:40 -0700)
commitc0a27c59460c894d9c968b9c6f1c2264c27923c0
tree31ee4e757ee7255607edc84d5eaa7a9d80b6136d
parent5009e73bb1e0d38fc2accedcf59fae6f6ccdf95a
intel/aubinator_error_decode: Allow for more sections

Error states coming from actual Vulkan applications tend to have fairly
long command buffers and lots of chained batches.  30 total BOs isn't
nearly enough.  This commit bumps it to 256, makes some things use the
actual number of sections instead of the #define, and adds asserts if we
ever go over 256 sections.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/aubinator_error_decode.c