layers: Fix dynamic descriptor count
authorTobin Ehlis <tobine@google.com>
Mon, 20 Jun 2016 19:07:34 +0000 (13:07 -0600)
committerTobin Ehlis <tobine@google.com>
Mon, 20 Jun 2016 19:34:13 +0000 (13:34 -0600)
commitcdd310bb478ad4f7ca70412dbc7a21cd98158fe2
treeac2005199b780c14ffdbd8f0bbd691dd9e984463
parente35e8aab1eaf50bebc56b65e46d1a1f34fd29d83
layers: Fix dynamic descriptor count

When creating descriptor set layout, we were only incrementing the dynamic descriptor
count by 1 regardless of the number of descriptors in a binding. This fix increments
the count by the number of descriptors in the binding.
layers/descriptor_sets.cpp