layers: Factor out checking of descriptor write members
authorChris Forbes <chrisforbes@google.com>
Fri, 20 Oct 2017 18:13:20 +0000 (11:13 -0700)
committerChris Forbes <chrisf@ijw.co.nz>
Fri, 20 Oct 2017 19:53:13 +0000 (12:53 -0700)
commitc72c1265abf94c5dde536653d9e13d043a9aeadf
treef231a41e8ed1179f22b9320a39c965acc7239e9f
parent3b1de1ee6c3ae03ce9c28b4f806192803ec2bfbd
layers: Factor out checking of descriptor write members

This will allow us to reuse this check for push descriptors, which are
currently inconsistent.
layers/object_tracker_utils.cpp