diff options
| author | Chia-I Wu <olv@lunarg.com> | 2015-10-31 00:31:16 +0800 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-11-03 15:19:06 -0700 |
| commit | 0e76e3fd433cc1e36428296deb09910ca9dc17c7 (patch) | |
| tree | 8cd44ebd453abaecf02b8d5233401ab39f2b2fd1 /layers/param_checker.cpp | |
| parent | 6348a912e40b66d71d75cdb598e0b21dc276934d (diff) | |
| download | usermoji-0e76e3fd433cc1e36428296deb09910ca9dc17c7.tar.xz | |
bug 14887: Documenting Valid Behavior in the Spec (WIP)
MR544 introduced header changes accidentally and MR573 fixed some of them.
Not sure if this pBindings-to-pBinding rename is intensional or not.
s/pBindings/pBinding/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14887
Diffstat (limited to 'layers/param_checker.cpp')
| -rw-r--r-- | layers/param_checker.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp index 022c6b9d..88ed52ed 100644 --- a/layers/param_checker.cpp +++ b/layers/param_checker.cpp @@ -4259,16 +4259,16 @@ bool PreCreateDescriptorSetLayout( "vkCreateDescriptorSetLayout parameter, VkStructureType pCreateInfo->sType, is an invalid enumerator"); return false; } - if(pCreateInfo->pBindings != nullptr) + if(pCreateInfo->pBinding != nullptr) { - if(pCreateInfo->pBindings->descriptorType < VK_DESCRIPTOR_TYPE_BEGIN_RANGE || - pCreateInfo->pBindings->descriptorType > VK_DESCRIPTOR_TYPE_END_RANGE) + if(pCreateInfo->pBinding->descriptorType < VK_DESCRIPTOR_TYPE_BEGIN_RANGE || + pCreateInfo->pBinding->descriptorType > VK_DESCRIPTOR_TYPE_END_RANGE) { log_msg(mdd(device), VK_DBG_REPORT_ERROR_BIT, (VkDbgObjectType)0, 0, 0, 1, "PARAMCHECK", "vkCreateDescriptorSetLayout parameter, VkDescriptorType pCreateInfo->pBinding->descriptorType, is an unrecognized enumerator"); return false; } - if(pCreateInfo->pBindings->pImmutableSamplers != nullptr) + if(pCreateInfo->pBinding->pImmutableSamplers != nullptr) { } } |
