layers: Make DescriptorSetLayout robust for CTS
authorJohn Zulauf <jzulauf@lunarg.com>
Fri, 5 Jan 2018 22:10:34 +0000 (15:10 -0700)
committerjzulauf-lunarg <32470354+jzulauf-lunarg@users.noreply.github.com>
Mon, 8 Jan 2018 22:28:39 +0000 (15:28 -0700)
commit09487a1e0fd518856ae41d4c94f12d67a6250305
tree7a0caac598771471a3323610c7db8f2bfb625b11
parentd005be382d63e8722bba86aaa7cd03e0ad75a210
layers: Make DescriptorSetLayout robust for CTS

CTS sends an invalid descriptor set that the validation tracking was not
robust to -- two binding with identical binding ID values.  After
reporting the invalid input data, the test application could crash.
Validation internal data is now created in a way that invalid data
should less easily cause program termination.

Change-Id: Ib84a5234267f7bece9be377badd22696e3633b1b
layers/descriptor_sets.cpp