aubinator: Don't skip the first field in each subgroup
authorJason Ekstrand <jason.ekstrand@intel.com>
Sun, 12 Nov 2017 05:43:46 +0000 (21:43 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 13 Nov 2017 15:37:23 +0000 (07:37 -0800)
commit93200ea26d42664006b1e63382f0b5db1c657384
tree610ceecbe1a8d4d371ec20b6d5b077239d2f350c
parent74a9e516964e1dae1049343f6285f276df353c3d
aubinator: Don't skip the first field in each subgroup

The previous iteration algorithm would advance the field pointer right
after we advance the group.  This meant that you would end up with
skipping the first field of the group.  In the common case, where the
only field is a struct (e.g. 3DSTATE_VERTEX_BUFFERS), it would get
skipped entirely.

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