From 0e76e3fd433cc1e36428296deb09910ca9dc17c7 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 31 Oct 2015 00:31:16 +0800 Subject: 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 --- layers/param_checker.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'layers/param_checker.cpp') 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) { } } -- cgit v1.2.3