layers:Verify valid buffer for tex buff ds update
authorTobin Ehlis <tobine@google.com>
Wed, 11 Oct 2017 14:48:00 +0000 (08:48 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 12 Oct 2017 16:51:41 +0000 (10:51 -0600)
commit86e7835a164132ada3f3ee8d3226047542f9ffa9
treeb26d8e5ff78000774d3e2b84a515de7e4c0d023b
parentf4a8e20c45e8cbabe7abbbe78fa96cdedb1bd31a
layers:Verify valid buffer for tex buff ds update

Fixes #2104

Make sure that buffer underlying the bufferView of texel buffer for a
uniform or storage texel buffer update has a valid buffer behind it.
Object tracker only checks to make sure that the view itself hasn't
been destroyed, so need this extra level of checking at this level to
avoid crash.
layers/descriptor_sets.cpp