commit | 539a87c7802c497bb1c38b07f61616da14916603 | [log] [tgz] |
---|---|---|
author | Chris Forbes <chrisforbes@google.com> | Fri Jan 22 15:44:40 2016 +1300 |
committer | Jon Ashburn <jon@lunarg.com> | Fri Jan 22 16:47:37 2016 -0700 |
tree | 6ea25d27312562dcc040e0be8a6bbdcc0d85c1db | |
parent | 13c94c13aca1b9b28c3cd387972d0828133aea3c [diff] |
layers: Only set up tracking for new descriptors if allocation succeeded. It's possible for this call to fail -- the pool is exhausted, or the request was simply bogus. In these cases, the returned descriptor set handles are meaningless. Don't shove them in our hashtables. Signed-off-by: Chris Forbes <chrisforbes@google.com>