aboutsummaryrefslogtreecommitdiff
path: root/layers/image.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobin@lunarg.com>2015-10-20 16:16:04 -0600
committerTobin Ehlis <tobin@lunarg.com>2015-10-22 11:12:27 -0600
commit642014905da847d63e6f6e1ce9df11982d68f16b (patch)
treef5d6ecec42a455e9b67a6a3590f262cf7019815e /layers/image.cpp
parent5a611c79f49e554f67d0821a6a903831323a19d7 (diff)
downloadusermoji-642014905da847d63e6f6e1ce9df11982d68f16b.tar.xz
layers: Add DrawState check for DescriptorSet availability in Pool
Prior to allocating descriptors from a Pool, verify that requested number/type of descriptors are available in that Pool, flag error if not. When Pool is reset or when descriptors are allocated, release descriptors back to pool. Added constructor and destructor for POOL_NODE to simplify allocation/cleanup. Added layer documentation for new check and AllocDescriptorFromEmptyPool test to verify that error is correctly flagged.
Diffstat (limited to 'layers/image.cpp')
0 files changed, 0 insertions, 0 deletions