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)
commite42c65bc66d00100f346b1e99784168ce11b6e3d
treecd47e8b65e043b4c883fe2f8d0b2fe0444168894
parent03ca6b49be621100d225b96f1a3a08afc6a941a7
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