diff options
| author | Chris Forbes <chrisforbes@google.com> | 2016-01-22 15:44:40 +1300 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2016-01-22 16:47:37 -0700 |
| commit | 514b8cbb051b02cf24ad3893e0c1d0922e184b2e (patch) | |
| tree | ef47a561bfdbedf00a208a520d4e86ff7a842405 /layers/mem_tracker.cpp | |
| parent | feee791c13ddb435d22e42811dfcdfd2ab82830f (diff) | |
| download | usermoji-514b8cbb051b02cf24ad3893e0c1d0922e184b2e.tar.xz | |
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>
Diffstat (limited to 'layers/mem_tracker.cpp')
0 files changed, 0 insertions, 0 deletions
