layers: Only bind active sets to cmd buffers
authorTobin Ehlis <tobine@google.com>
Wed, 17 Aug 2016 15:49:13 +0000 (09:49 -0600)
committerTobin Ehlis <tobine@google.com>
Wed, 24 Aug 2016 00:41:47 +0000 (18:41 -0600)
commitaa21bc3b3c5c7adfeb488fc80bdcb339d63615b8
tree08c247fffafa89ab328eb75d6e4c114220fe5a48
parent5c288f35b2eab0dab95d18768235fef6ffd69b30
layers: Only bind active sets to cmd buffers

Don't create a binding between every set bound to a cmd buffer, but only
the sets that are verified active at draw time.
Gather up active descriptorset bindings in prepration of also binding the
resources from each individual active set to the cmd buffer.
layers/core_validation.cpp
layers/descriptor_sets.cpp
layers/descriptor_sets.h