Add support for a new class of commands. (#1741)

This commit is contained in:
Andreas Süßenbach 2023-11-29 19:21:22 +01:00 committed by GitHub
parent 5bd1e56054
commit 84b77d1406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3687,7 +3687,8 @@ std::string VulkanHppGenerator::generateCommandResultMultiSuccessWithErrors1Retu
{ {
if ( commandData.params[vectorParams.begin()->second.lenParam].type.type == "uint32_t" ) if ( commandData.params[vectorParams.begin()->second.lenParam].type.type == "uint32_t" )
{ {
if ( isStructureChainAnchor( commandData.params[vectorParams.begin()->first].type.type ) ) if ( ( ( commandData.params[vectorParams.begin()->first].type.type != "void" ) &&
!isHandleType( commandData.params[vectorParams.begin()->first].type.type ) ) )
{ {
return generateCommandSetInclusive( name, return generateCommandSetInclusive( name,
commandData, commandData,