aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-10-25 07:43:27 -0600
committerTobin Ehlis <tobine@google.com>2016-10-25 21:01:49 -0600
commit532eb6def55bd1247ef3d2be71bc846610501d4b (patch)
tree3ea0c1d76f65f1238079fb15d72068ee707ea527 /layers/core_validation.cpp
parent41b684a8fc0efb0951e0c8b2c8f52058d25ecb63 (diff)
downloadusermoji-532eb6def55bd1247ef3d2be71bc846610501d4b.tar.xz
layers:Update error enum for duplicate bindings
Add unique error enum for the case where descriptor bindings are duplicated.
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index e07929da..71d140ba 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -6719,6 +6719,7 @@ VKAPI_ATTR VkResult VKAPI_CALL
CreateDescriptorSetLayout(VkDevice device, const VkDescriptorSetLayoutCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator, VkDescriptorSetLayout *pSetLayout) {
layer_data *dev_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map);
+ // TODO: Need to validate create state prior to calling down the chain
VkResult result = dev_data->dispatch_table.CreateDescriptorSetLayout(device, pCreateInfo, pAllocator, pSetLayout);
if (VK_SUCCESS == result) {
// TODOSC : Capture layout bindings set