mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Reorganized enum value alias handling. (#1830)
This commit is contained in:
parent
194708b54c
commit
ce84c37abf
@ -59,6 +59,7 @@ VulkanHppGenerator::VulkanHppGenerator( tinyxml2::XMLDocument const & document,
|
||||
checkForError( elements.size() == 1, line, "encountered " + std::to_string( elements.size() ) + " elements named <registry> but only one is allowed" );
|
||||
readRegistry( elements[0] );
|
||||
filterLenMembers();
|
||||
fixEnumValueIssues();
|
||||
checkCorrectness();
|
||||
handleRemovals();
|
||||
|
||||
@ -1120,10 +1121,18 @@ void VulkanHppGenerator::checkCommandCorrectness() const
|
||||
for ( auto rc : resultIt->second.values )
|
||||
{
|
||||
resultCodes.insert( rc.name );
|
||||
for ( auto ac : rc.aliases )
|
||||
{
|
||||
resultCodes.insert( ac.first );
|
||||
}
|
||||
}
|
||||
for ( auto rc : resultIt->second.unsupportedValues )
|
||||
{
|
||||
resultCodes.insert( rc.name );
|
||||
for ( auto ac : rc.aliases )
|
||||
{
|
||||
resultCodes.insert( ac.first );
|
||||
}
|
||||
}
|
||||
|
||||
// command checks
|
||||
@ -1203,15 +1212,17 @@ void VulkanHppGenerator::checkEnumCorrectness() const
|
||||
assert( typeIt != m_types.end() );
|
||||
checkForWarning( !typeIt->second.requiredBy.empty(), e.second.xmlLine, "enum <" + e.first + "> not required in any feature or extension" );
|
||||
|
||||
// check that the alias names are known enum values
|
||||
for ( auto const & value : e.second.values )
|
||||
// check that each enum value actually is specified (and not only listed as an alias)
|
||||
for ( auto const & evd : e.second.values )
|
||||
{
|
||||
checkForError(
|
||||
value.alias.empty() ||
|
||||
std::any_of( e.second.values.begin(), e.second.values.end(), [&value]( auto const & evd ) { return evd.name == value.alias; } ) ||
|
||||
std::any_of( e.second.unsupportedValues.begin(), e.second.unsupportedValues.end(), [&value]( auto const & evd ) { return evd.name == value.alias; } ),
|
||||
value.xmlLine,
|
||||
"enum <" + value.name + "> uses unknown alias <" + value.alias + ">" );
|
||||
if ( evd.xmlLine == -1 )
|
||||
{
|
||||
assert( !evd.aliases.empty() );
|
||||
checkForError( false,
|
||||
evd.aliases.begin()->second,
|
||||
"enum alias value <" + evd.aliases.begin()->first + "> is listed as an alias of enum value <" + evd.name +
|
||||
"> but that value has never been listed" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1239,10 +1250,7 @@ void VulkanHppGenerator::checkEnumCorrectness() const
|
||||
assert( enumIt->second.values.front().name == "VK_FORMAT_UNDEFINED" );
|
||||
for ( auto enumValueIt = std::next( enumIt->second.values.begin() ); enumValueIt != enumIt->second.values.end(); ++enumValueIt )
|
||||
{
|
||||
// check for non-alias formats only
|
||||
checkForError( !enumValueIt->alias.empty() || m_formats.contains( enumValueIt->name ),
|
||||
enumValueIt->xmlLine,
|
||||
"missing format specification for <" + enumValueIt->name + ">" );
|
||||
checkForError( m_formats.contains( enumValueIt->name ), enumValueIt->xmlLine, "missing format specification for <" + enumValueIt->name + ">" );
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1446,11 +1454,10 @@ void VulkanHppGenerator::checkHandleCorrectness() const
|
||||
{
|
||||
if ( objectTypeValue.name != "VK_OBJECT_TYPE_UNKNOWN" )
|
||||
{
|
||||
// check for non-alias objectTypes only
|
||||
checkForError( !objectTypeValue.alias.empty() || std::any_of( m_handles.begin(),
|
||||
m_handles.end(),
|
||||
[&objectTypeValue]( std::pair<std::string, HandleData> const & hd )
|
||||
{ return hd.second.objTypeEnum == objectTypeValue.name; } ),
|
||||
checkForError( std::any_of( m_handles.begin(),
|
||||
m_handles.end(),
|
||||
[&objectTypeValue]( std::pair<std::string, HandleData> const & hd )
|
||||
{ return hd.second.objTypeEnum == objectTypeValue.name; } ),
|
||||
objectTypeValue.xmlLine,
|
||||
"VkObjectType value <" + objectTypeValue.name + "> not specified as \"objtypeenum\" for any handle" );
|
||||
}
|
||||
@ -1491,7 +1498,7 @@ void VulkanHppGenerator::checkStructCorrectness() const
|
||||
assert( structureTypeIt != m_enums.end() );
|
||||
static std::set<std::string> reservedValues = { "VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO",
|
||||
"VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO",
|
||||
"VK_STRUCTURE_TYPE_PRIVATE_VENDOR_INFO_RESERVED_OFFSET_0_NV" };
|
||||
"VK_STRUCTURE_TYPE_PRIVATE_VENDOR_INFO_PLACEHOLDER_OFFSET_0_NV" };
|
||||
for ( auto const & enumValue : structureTypeIt->second.values )
|
||||
{
|
||||
if ( reservedValues.contains( enumValue.name ) )
|
||||
@ -1500,10 +1507,7 @@ void VulkanHppGenerator::checkStructCorrectness() const
|
||||
}
|
||||
else
|
||||
{
|
||||
// check for non-alias structureTypes only
|
||||
checkForWarning( !enumValue.alias.empty() || ( sTypeValues.erase( enumValue.name ) == 1 ),
|
||||
enumValue.xmlLine,
|
||||
"VkStructureType enum value <" + enumValue.name + "> never used" );
|
||||
checkForWarning( sTypeValues.erase( enumValue.name ) == 1, enumValue.xmlLine, "VkStructureType enum value <" + enumValue.name + "> never used" );
|
||||
}
|
||||
}
|
||||
assert( sTypeValues.empty() );
|
||||
@ -2227,6 +2231,31 @@ std::string VulkanHppGenerator::findTag( std::string const & name, std::string c
|
||||
return ( tagIt != m_tags.end() ) ? tagIt->first : "";
|
||||
}
|
||||
|
||||
void VulkanHppGenerator::fixEnumValueIssues()
|
||||
{
|
||||
for ( auto & e : m_enums )
|
||||
{
|
||||
// fix enum values that are only listed as an alias, but actually are listed as an unsupported value
|
||||
for ( auto & evd : e.second.values )
|
||||
{
|
||||
if ( evd.xmlLine == -1 )
|
||||
{
|
||||
assert( !evd.aliases.empty() );
|
||||
auto unsupportedIt =
|
||||
std::find_if( e.second.unsupportedValues.begin(), e.second.unsupportedValues.end(), [&evd]( auto const & uvd ) { return evd.name == uvd.name; } );
|
||||
if ( unsupportedIt != e.second.unsupportedValues.end() )
|
||||
{
|
||||
// "fix" this, by moving that unsupported enum over to the supported
|
||||
auto aliases = evd.aliases;
|
||||
evd = *unsupportedIt;
|
||||
evd.aliases = aliases;
|
||||
e.second.unsupportedValues.erase( unsupportedIt );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::pair<std::string, std::string> VulkanHppGenerator::generateAllocatorTemplates( std::vector<size_t> const & returnParams,
|
||||
std::vector<std::string> const & returnDataTypes,
|
||||
std::map<size_t, VectorParamData> const & vectorParams,
|
||||
@ -2535,22 +2564,18 @@ std::string VulkanHppGenerator::generateBitmask( std::map<std::string, BitmaskDa
|
||||
std::string previousEnter, previousLeave;
|
||||
for ( auto const & value : bitmaskBitsIt->second.values )
|
||||
{
|
||||
// only list non-alias values in the allFlags trait
|
||||
if ( value.alias.empty() )
|
||||
// if the value's protect differs from the surrounding protect, generate protection code
|
||||
std::string enter, leave;
|
||||
if ( !value.protect.empty() && ( value.protect != surroundingProtect ) )
|
||||
{
|
||||
// if the value's protect differs from the surrounding protect, generate protection code
|
||||
std::string enter, leave;
|
||||
if ( !value.protect.empty() && ( value.protect != surroundingProtect ) )
|
||||
{
|
||||
tie( enter, leave ) = generateProtection( value.protect );
|
||||
}
|
||||
std::string valueName = generateEnumValueName( bitmaskBitsIt->first, value.name, true );
|
||||
allFlags += ( ( previousEnter != enter ) ? ( "\n" + previousLeave + enter ) : "\n" ) + " " + ( encounteredFlag ? "| " : " " ) + enumName +
|
||||
"::" + valueName;
|
||||
encounteredFlag = true;
|
||||
previousEnter = enter;
|
||||
previousLeave = leave;
|
||||
tie( enter, leave ) = generateProtection( value.protect );
|
||||
}
|
||||
std::string valueName = generateEnumValueName( bitmaskBitsIt->first, value.name, true );
|
||||
allFlags +=
|
||||
( ( previousEnter != enter ) ? ( "\n" + previousLeave + enter ) : "\n" ) + " " + ( encounteredFlag ? "| " : " " ) + enumName + "::" + valueName;
|
||||
encounteredFlag = true;
|
||||
previousEnter = enter;
|
||||
previousLeave = leave;
|
||||
}
|
||||
if ( !previousLeave.empty() )
|
||||
{
|
||||
@ -2663,7 +2688,6 @@ ${toStringChecks}
|
||||
}
|
||||
else if ( !value.bitpos.empty() )
|
||||
{
|
||||
assert( value.alias.empty() );
|
||||
const auto [enter, leave] = generateProtection( value.protect );
|
||||
toStringChecks += ( ( previousEnter != enter ) ? ( previousLeave + enter ) : "" ) + " if ( value & " + enumName + "::" + valueName +
|
||||
" ) result += \"" + valueName.substr( 1 ) + " | \";\n";
|
||||
@ -5642,9 +5666,9 @@ std::string VulkanHppGenerator::generateCppModuleUsings() const
|
||||
// result Exceptions
|
||||
auto resultExceptionsUsings = std::string{};
|
||||
auto const & [name, data] = *m_enums.find( "VkResult" );
|
||||
for ( auto const & [alias, bitpos, enumName, protect, value, xmlLine] : data.values )
|
||||
for ( auto const & [aliases, bitpos, enumName, protect, value, xmlLine] : data.values )
|
||||
{
|
||||
if ( alias.empty() && enumName.starts_with( "VK_ERROR" ) )
|
||||
if ( enumName.starts_with( "VK_ERROR" ) )
|
||||
{
|
||||
auto [enter, leave] = generateProtection( protect );
|
||||
enter = enter.empty() ? enter : "\n" + enter;
|
||||
@ -6570,86 +6594,64 @@ std::string VulkanHppGenerator::generateEnum( std::pair<std::string, EnumData> c
|
||||
bitmask = generateBitmask( bitmaskIt, surroundingProtect );
|
||||
}
|
||||
|
||||
auto aliasEnumIt = findAlias( enumData.first, m_enumAliases );
|
||||
std::string enumValues, previousEnter, previousLeave;
|
||||
#if !defined( NDEBUG )
|
||||
auto aliasEnumIt = findAlias( enumData.first, m_enumAliases );
|
||||
std::string enumValues, previousEnter, previousLeave;
|
||||
std::map<std::string, std::string> valueToNameMap;
|
||||
#else
|
||||
std::set<std::string> valueSet;
|
||||
#endif
|
||||
for ( auto const & value : enumData.second.values )
|
||||
{
|
||||
std::string valueName = generateEnumValueName(
|
||||
value.alias.empty() || ( aliasEnumIt == m_enumAliases.end() ) ? enumData.first : aliasEnumIt->first, value.name, enumData.second.isBitmask );
|
||||
#if !defined( NDEBUG )
|
||||
auto valueToNameIt = valueToNameMap.find( valueName );
|
||||
if ( valueToNameIt == valueToNameMap.end() )
|
||||
#else
|
||||
if ( !valueSet.contains( valueName ) )
|
||||
#endif
|
||||
{
|
||||
// if the value's protect differs from the surrounding protect, generate protection code
|
||||
std::string enter, leave;
|
||||
if ( !value.protect.empty() && ( value.protect != surroundingProtect ) )
|
||||
{
|
||||
tie( enter, leave ) = generateProtection( value.protect );
|
||||
}
|
||||
if ( previousEnter != enter )
|
||||
{
|
||||
enumValues += previousLeave + enter;
|
||||
}
|
||||
enumValues += " " + valueName + " = " + value.name + ",\n";
|
||||
std::string valueName = generateEnumValueName( enumData.first, value.name, enumData.second.isBitmask );
|
||||
checkForError( valueToNameMap.insert( { valueName, value.name } ).second,
|
||||
value.xmlLine,
|
||||
"generated enum value name <" + valueName + "> already listed for enum <" + enumData.first + ">" );
|
||||
|
||||
#if !defined( NDEBUG )
|
||||
if ( value.alias.empty() )
|
||||
// if the value's protect differs from the surrounding protect, generate protection code
|
||||
std::string enter, leave;
|
||||
if ( !value.protect.empty() && ( value.protect != surroundingProtect ) )
|
||||
{
|
||||
tie( enter, leave ) = generateProtection( value.protect );
|
||||
}
|
||||
if ( previousEnter != enter )
|
||||
{
|
||||
enumValues += previousLeave + enter;
|
||||
}
|
||||
enumValues += " " + valueName + " = " + value.name + ",\n";
|
||||
|
||||
for ( auto const & alias : value.aliases )
|
||||
{
|
||||
std::string enumName = enumData.first;
|
||||
auto aliasIt = std::find_if( m_enumAliases.begin(), m_enumAliases.end(), [&enumData]( auto const & ad ) { return ad.second.name == enumData.first; } );
|
||||
if ( aliasIt != m_enumAliases.end() )
|
||||
{
|
||||
valueToNameMap[valueName] = value.name;
|
||||
assert( std::find_if( std::next( aliasIt ), m_enumAliases.end(), [&enumData]( auto const & ad ) { return ad.second.name == enumData.first; } ) ==
|
||||
m_enumAliases.end() );
|
||||
std::string enumTag = findTag( enumData.first );
|
||||
std::string aliasTag = findTag( aliasIt->first );
|
||||
std::string valueTag = findTag( alias.first );
|
||||
if ( ( stripPostfix( enumData.first, enumTag ) == stripPostfix( aliasIt->first, aliasTag ) ) && ( aliasTag == valueTag ) )
|
||||
{
|
||||
enumName = aliasIt->first;
|
||||
}
|
||||
}
|
||||
|
||||
std::string aliasName = generateEnumValueName( enumName, alias.first, enumData.second.isBitmask );
|
||||
auto [mapIt, inserted] = valueToNameMap.insert( { aliasName, alias.first } );
|
||||
if ( inserted )
|
||||
{
|
||||
enumValues += " " + aliasName + " = " + alias.first + ",\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
// map the aliasName to the name of the base
|
||||
std::string baseName = value.name;
|
||||
auto valueIt = std::find_if(
|
||||
enumData.second.values.begin(), enumData.second.values.end(), [&baseName]( EnumValueData const & evd ) { return evd.name == baseName; } );
|
||||
assert( valueIt != enumData.second.values.end() );
|
||||
while ( !valueIt->alias.empty() )
|
||||
{
|
||||
baseName = valueIt->alias;
|
||||
valueIt = std::find_if(
|
||||
enumData.second.values.begin(), enumData.second.values.end(), [&baseName]( EnumValueData const & evd ) { return evd.name == baseName; } );
|
||||
if ( valueIt == enumData.second.values.end() )
|
||||
{
|
||||
valueIt = std::find_if( enumData.second.unsupportedValues.begin(),
|
||||
enumData.second.unsupportedValues.end(),
|
||||
[&baseName]( EnumValueData const & evd ) { return evd.name == baseName; } );
|
||||
assert( valueIt != enumData.second.unsupportedValues.end() );
|
||||
}
|
||||
}
|
||||
valueToNameMap[valueName] = baseName;
|
||||
// some aliases are so close to the original, that no new entry can be generated!
|
||||
assert( mapIt->second != alias.first );
|
||||
checkForError( ( mapIt->second == value.name ) || value.aliases.contains( mapIt->second ),
|
||||
alias.second,
|
||||
"generated enum alias value name <" + aliasName + ">, generated from <" + alias.first +
|
||||
"> is already generated from different enum value <" + mapIt->second + ">" );
|
||||
}
|
||||
#else
|
||||
valueSet.insert( valueName );
|
||||
#endif
|
||||
}
|
||||
|
||||
previousEnter = enter;
|
||||
previousLeave = leave;
|
||||
}
|
||||
#if !defined( NDEBUG )
|
||||
else
|
||||
{
|
||||
// verify, that the identical value represents the identical name
|
||||
auto valueIt =
|
||||
std::find_if( enumData.second.values.begin(), enumData.second.values.end(), [&value]( EnumValueData const & evd ) { return evd.name == value.name; } );
|
||||
std::string baseName = valueIt->name;
|
||||
while ( !valueIt->alias.empty() )
|
||||
{
|
||||
baseName = valueIt->alias;
|
||||
valueIt = std::find_if(
|
||||
enumData.second.values.begin(), enumData.second.values.end(), [&baseName]( EnumValueData const & evd ) { return evd.name == baseName; } );
|
||||
}
|
||||
assert( baseName == valueToNameIt->second );
|
||||
}
|
||||
#endif
|
||||
previousEnter = enter;
|
||||
previousLeave = leave;
|
||||
}
|
||||
enumValues += previousLeave;
|
||||
|
||||
@ -6825,24 +6827,20 @@ std::string VulkanHppGenerator::generateEnumToString( std::pair<std::string, Enu
|
||||
std::string cases, previousEnter, previousLeave;
|
||||
for ( auto const & value : enumData.second.values )
|
||||
{
|
||||
// generate cases for non-alias enum values only
|
||||
if ( value.alias.empty() )
|
||||
const auto [enter, leave] = generateProtection( value.protect );
|
||||
if ( previousEnter != enter )
|
||||
{
|
||||
const auto [enter, leave] = generateProtection( value.protect );
|
||||
if ( previousEnter != enter )
|
||||
{
|
||||
cases += previousLeave + enter;
|
||||
}
|
||||
|
||||
const std::string caseTemplate = R"( case ${enumName}::e${valueName} : return "${valueName}";
|
||||
)";
|
||||
cases += replaceWithMap(
|
||||
caseTemplate,
|
||||
{ { "enumName", enumName }, { "valueName", generateEnumValueName( enumData.first, value.name, enumData.second.isBitmask ).substr( 1 ) } } );
|
||||
|
||||
previousEnter = enter;
|
||||
previousLeave = leave;
|
||||
cases += previousLeave + enter;
|
||||
}
|
||||
|
||||
const std::string caseTemplate = R"( case ${enumName}::e${valueName} : return "${valueName}";
|
||||
)";
|
||||
cases += replaceWithMap(
|
||||
caseTemplate,
|
||||
{ { "enumName", enumName }, { "valueName", generateEnumValueName( enumData.first, value.name, enumData.second.isBitmask ).substr( 1 ) } } );
|
||||
|
||||
previousEnter = enter;
|
||||
previousLeave = leave;
|
||||
}
|
||||
cases += previousLeave;
|
||||
|
||||
@ -7332,27 +7330,24 @@ ${texelsPerBlockCases}
|
||||
planeWidthDivisorCases, texelsPerBlockCases;
|
||||
for ( auto formatValuesIt = std::next( formatIt->second.values.begin() ); formatValuesIt != formatIt->second.values.end(); ++formatValuesIt )
|
||||
{
|
||||
// only generate a trait for non-alias formats
|
||||
if ( formatValuesIt->alias.empty() )
|
||||
auto traitIt = m_formats.find( formatValuesIt->name );
|
||||
assert( traitIt != m_formats.end() );
|
||||
std::string caseString = " case VULKAN_HPP_NAMESPACE::Format::" + generateEnumValueName( "VkFormat", traitIt->first, false ) + ":";
|
||||
|
||||
blockSizeCases += caseString + " return " + traitIt->second.blockSize + ";\n";
|
||||
|
||||
if ( !traitIt->second.blockExtent.empty() )
|
||||
{
|
||||
auto traitIt = m_formats.find( formatValuesIt->name );
|
||||
assert( traitIt != m_formats.end() );
|
||||
std::string caseString = " case VULKAN_HPP_NAMESPACE::Format::" + generateEnumValueName( "VkFormat", traitIt->first, false ) + ":";
|
||||
std::vector<std::string> blockExtent = tokenize( traitIt->second.blockExtent, "," );
|
||||
assert( blockExtent.size() == 3 );
|
||||
blockExtentCases += caseString + " return {{ " + blockExtent[0] + ", " + blockExtent[1] + ", " + blockExtent[2] + " }};\n";
|
||||
}
|
||||
|
||||
blockSizeCases += caseString + " return " + traitIt->second.blockSize + ";\n";
|
||||
classCases += caseString + " return \"" + traitIt->second.classAttribute + "\";\n";
|
||||
|
||||
if ( !traitIt->second.blockExtent.empty() )
|
||||
{
|
||||
std::vector<std::string> blockExtent = tokenize( traitIt->second.blockExtent, "," );
|
||||
assert( blockExtent.size() == 3 );
|
||||
blockExtentCases += caseString + " return {{ " + blockExtent[0] + ", " + blockExtent[1] + ", " + blockExtent[2] + " }};\n";
|
||||
}
|
||||
|
||||
classCases += caseString + " return \"" + traitIt->second.classAttribute + "\";\n";
|
||||
|
||||
if ( traitIt->second.components.front().bits != "compressed" )
|
||||
{
|
||||
const std::string componentBitsCaseTemplate = R"(${caseString}
|
||||
if ( traitIt->second.components.front().bits != "compressed" )
|
||||
{
|
||||
const std::string componentBitsCaseTemplate = R"(${caseString}
|
||||
switch( component )
|
||||
{
|
||||
${componentCases}
|
||||
@ -7360,19 +7355,19 @@ ${componentCases}
|
||||
}
|
||||
)";
|
||||
|
||||
std::string componentCases;
|
||||
for ( size_t i = 0; i < traitIt->second.components.size(); ++i )
|
||||
{
|
||||
componentCases += " case " + std::to_string( i ) + ": return " + traitIt->second.components[i].bits + ";\n";
|
||||
}
|
||||
componentCases.pop_back();
|
||||
componentBitsCases += replaceWithMap( componentBitsCaseTemplate, { { "caseString", caseString }, { "componentCases", componentCases } } );
|
||||
}
|
||||
|
||||
componentCountCases += caseString + " return " + std::to_string( traitIt->second.components.size() ) + ";\n";
|
||||
|
||||
std::string componentCases;
|
||||
for ( size_t i = 0; i < traitIt->second.components.size(); ++i )
|
||||
{
|
||||
const std::string componentNameCaseTemplate = R"(${caseString}
|
||||
componentCases += " case " + std::to_string( i ) + ": return " + traitIt->second.components[i].bits + ";\n";
|
||||
}
|
||||
componentCases.pop_back();
|
||||
componentBitsCases += replaceWithMap( componentBitsCaseTemplate, { { "caseString", caseString }, { "componentCases", componentCases } } );
|
||||
}
|
||||
|
||||
componentCountCases += caseString + " return " + std::to_string( traitIt->second.components.size() ) + ";\n";
|
||||
|
||||
{
|
||||
const std::string componentNameCaseTemplate = R"(${caseString}
|
||||
switch( component )
|
||||
{
|
||||
${componentCases}
|
||||
@ -7380,17 +7375,17 @@ ${componentCases}
|
||||
}
|
||||
)";
|
||||
|
||||
std::string componentCases;
|
||||
for ( size_t i = 0; i < traitIt->second.components.size(); ++i )
|
||||
{
|
||||
componentCases += " case " + std::to_string( i ) + ": return \"" + traitIt->second.components[i].name + "\";\n";
|
||||
}
|
||||
componentCases.pop_back();
|
||||
componentNameCases += replaceWithMap( componentNameCaseTemplate, { { "caseString", caseString }, { "componentCases", componentCases } } );
|
||||
}
|
||||
|
||||
std::string componentCases;
|
||||
for ( size_t i = 0; i < traitIt->second.components.size(); ++i )
|
||||
{
|
||||
const std::string componentNumericFormatCaseTemplate = R"(${caseString}
|
||||
componentCases += " case " + std::to_string( i ) + ": return \"" + traitIt->second.components[i].name + "\";\n";
|
||||
}
|
||||
componentCases.pop_back();
|
||||
componentNameCases += replaceWithMap( componentNameCaseTemplate, { { "caseString", caseString }, { "componentCases", componentCases } } );
|
||||
}
|
||||
|
||||
{
|
||||
const std::string componentNumericFormatCaseTemplate = R"(${caseString}
|
||||
switch( component )
|
||||
{
|
||||
${componentCases}
|
||||
@ -7398,19 +7393,19 @@ ${componentCases}
|
||||
}
|
||||
)";
|
||||
|
||||
std::string componentCases;
|
||||
for ( size_t i = 0; i < traitIt->second.components.size(); ++i )
|
||||
{
|
||||
componentCases += " case " + std::to_string( i ) + ": return \"" + traitIt->second.components[i].numericFormat + "\";\n";
|
||||
}
|
||||
componentCases.pop_back();
|
||||
componentNumericFormatCases +=
|
||||
replaceWithMap( componentNumericFormatCaseTemplate, { { "caseString", caseString }, { "componentCases", componentCases } } );
|
||||
}
|
||||
|
||||
if ( !traitIt->second.components.front().planeIndex.empty() )
|
||||
std::string componentCases;
|
||||
for ( size_t i = 0; i < traitIt->second.components.size(); ++i )
|
||||
{
|
||||
const std::string componentPlaneIndexCaseTemplate = R"(${caseString}
|
||||
componentCases += " case " + std::to_string( i ) + ": return \"" + traitIt->second.components[i].numericFormat + "\";\n";
|
||||
}
|
||||
componentCases.pop_back();
|
||||
componentNumericFormatCases +=
|
||||
replaceWithMap( componentNumericFormatCaseTemplate, { { "caseString", caseString }, { "componentCases", componentCases } } );
|
||||
}
|
||||
|
||||
if ( !traitIt->second.components.front().planeIndex.empty() )
|
||||
{
|
||||
const std::string componentPlaneIndexCaseTemplate = R"(${caseString}
|
||||
switch( component )
|
||||
{
|
||||
${componentCases}
|
||||
@ -7418,33 +7413,33 @@ ${componentCases}
|
||||
}
|
||||
)";
|
||||
|
||||
std::string componentCases;
|
||||
for ( size_t i = 0; i < traitIt->second.components.size(); ++i )
|
||||
{
|
||||
componentCases += " case " + std::to_string( i ) + ": return " + traitIt->second.components[i].planeIndex + ";\n";
|
||||
}
|
||||
componentCases.pop_back();
|
||||
componentPlaneIndexCases += replaceWithMap( componentPlaneIndexCaseTemplate, { { "caseString", caseString }, { "componentCases", componentCases } } );
|
||||
}
|
||||
|
||||
if ( traitIt->second.components.front().bits == "compressed" )
|
||||
std::string componentCases;
|
||||
for ( size_t i = 0; i < traitIt->second.components.size(); ++i )
|
||||
{
|
||||
componentsAreCompressedCases += caseString + "\n";
|
||||
componentCases += " case " + std::to_string( i ) + ": return " + traitIt->second.components[i].planeIndex + ";\n";
|
||||
}
|
||||
componentCases.pop_back();
|
||||
componentPlaneIndexCases += replaceWithMap( componentPlaneIndexCaseTemplate, { { "caseString", caseString }, { "componentCases", componentCases } } );
|
||||
}
|
||||
|
||||
if ( !traitIt->second.compressed.empty() )
|
||||
{
|
||||
compressionSchemeCases += caseString + " return \"" + traitIt->second.compressed + "\";\n";
|
||||
}
|
||||
if ( traitIt->second.components.front().bits == "compressed" )
|
||||
{
|
||||
componentsAreCompressedCases += caseString + "\n";
|
||||
}
|
||||
|
||||
if ( !traitIt->second.packed.empty() )
|
||||
{
|
||||
packedCases += caseString + " return " + traitIt->second.packed + ";\n";
|
||||
}
|
||||
if ( !traitIt->second.compressed.empty() )
|
||||
{
|
||||
compressionSchemeCases += caseString + " return \"" + traitIt->second.compressed + "\";\n";
|
||||
}
|
||||
|
||||
if ( !traitIt->second.planes.empty() )
|
||||
{
|
||||
const std::string planeCompatibleCaseTemplate = R"(${caseString}
|
||||
if ( !traitIt->second.packed.empty() )
|
||||
{
|
||||
packedCases += caseString + " return " + traitIt->second.packed + ";\n";
|
||||
}
|
||||
|
||||
if ( !traitIt->second.planes.empty() )
|
||||
{
|
||||
const std::string planeCompatibleCaseTemplate = R"(${caseString}
|
||||
switch( plane )
|
||||
{
|
||||
${compatibleCases}
|
||||
@ -7452,7 +7447,7 @@ ${compatibleCases}
|
||||
}
|
||||
)";
|
||||
|
||||
const std::string planeHeightDivisorCaseTemplate = R"(${caseString}
|
||||
const std::string planeHeightDivisorCaseTemplate = R"(${caseString}
|
||||
switch( plane )
|
||||
{
|
||||
${heightDivisorCases}
|
||||
@ -7460,7 +7455,7 @@ ${heightDivisorCases}
|
||||
}
|
||||
)";
|
||||
|
||||
const std::string planeWidthDivisorCaseTemplate = R"(${caseString}
|
||||
const std::string planeWidthDivisorCaseTemplate = R"(${caseString}
|
||||
switch( plane )
|
||||
{
|
||||
${widthDivisorCases}
|
||||
@ -7468,31 +7463,29 @@ ${widthDivisorCases}
|
||||
}
|
||||
)";
|
||||
|
||||
std::string compatibleCases, heightDivisorCases, widthDivisorCases;
|
||||
for ( size_t i = 0; i < traitIt->second.planes.size(); ++i )
|
||||
{
|
||||
compatibleCases += " case " + std::to_string( i ) +
|
||||
": return VULKAN_HPP_NAMESPACE::Format::" + generateEnumValueName( "VkFormat", traitIt->second.planes[i].compatible, false ) +
|
||||
";\n";
|
||||
heightDivisorCases += " case " + std::to_string( i ) + ": return " + traitIt->second.planes[i].heightDivisor + ";\n";
|
||||
widthDivisorCases += " case " + std::to_string( i ) + ": return " + traitIt->second.planes[i].widthDivisor + ";\n";
|
||||
}
|
||||
compatibleCases.pop_back();
|
||||
heightDivisorCases.pop_back();
|
||||
widthDivisorCases.pop_back();
|
||||
|
||||
planeCompatibleCases += replaceWithMap( planeCompatibleCaseTemplate, { { "caseString", caseString }, { "compatibleCases", compatibleCases } } );
|
||||
|
||||
planeCountCases += caseString + " return " + std::to_string( traitIt->second.planes.size() ) + ";\n";
|
||||
|
||||
planeHeightDivisorCases +=
|
||||
replaceWithMap( planeHeightDivisorCaseTemplate, { { "caseString", caseString }, { "heightDivisorCases", heightDivisorCases } } );
|
||||
|
||||
planeWidthDivisorCases += replaceWithMap( planeWidthDivisorCaseTemplate, { { "caseString", caseString }, { "widthDivisorCases", widthDivisorCases } } );
|
||||
std::string compatibleCases, heightDivisorCases, widthDivisorCases;
|
||||
for ( size_t i = 0; i < traitIt->second.planes.size(); ++i )
|
||||
{
|
||||
compatibleCases += " case " + std::to_string( i ) +
|
||||
": return VULKAN_HPP_NAMESPACE::Format::" + generateEnumValueName( "VkFormat", traitIt->second.planes[i].compatible, false ) + ";\n";
|
||||
heightDivisorCases += " case " + std::to_string( i ) + ": return " + traitIt->second.planes[i].heightDivisor + ";\n";
|
||||
widthDivisorCases += " case " + std::to_string( i ) + ": return " + traitIt->second.planes[i].widthDivisor + ";\n";
|
||||
}
|
||||
compatibleCases.pop_back();
|
||||
heightDivisorCases.pop_back();
|
||||
widthDivisorCases.pop_back();
|
||||
|
||||
texelsPerBlockCases += caseString + " return " + traitIt->second.texelsPerBlock + ";\n";
|
||||
planeCompatibleCases += replaceWithMap( planeCompatibleCaseTemplate, { { "caseString", caseString }, { "compatibleCases", compatibleCases } } );
|
||||
|
||||
planeCountCases += caseString + " return " + std::to_string( traitIt->second.planes.size() ) + ";\n";
|
||||
|
||||
planeHeightDivisorCases +=
|
||||
replaceWithMap( planeHeightDivisorCaseTemplate, { { "caseString", caseString }, { "heightDivisorCases", heightDivisorCases } } );
|
||||
|
||||
planeWidthDivisorCases += replaceWithMap( planeWidthDivisorCaseTemplate, { { "caseString", caseString }, { "widthDivisorCases", widthDivisorCases } } );
|
||||
}
|
||||
|
||||
texelsPerBlockCases += caseString + " return " + traitIt->second.texelsPerBlock + ";\n";
|
||||
}
|
||||
|
||||
return replaceWithMap( formatTraitsTemplate,
|
||||
@ -7922,7 +7915,7 @@ ${indexTypeTraits}
|
||||
for ( auto const & value : indexType->second.values )
|
||||
{
|
||||
assert( value.name.starts_with( "VK_INDEX_TYPE_UINT" ) || value.name.starts_with( "VK_INDEX_TYPE_NONE" ) );
|
||||
if ( value.alias.empty() && value.name.starts_with( "VK_INDEX_TYPE_UINT" ) )
|
||||
if ( value.name.starts_with( "VK_INDEX_TYPE_UINT" ) )
|
||||
{
|
||||
std::string valueName = generateEnumValueName( indexType->first, value.name, false );
|
||||
assert( valueName.starts_with( "eUint" ) );
|
||||
@ -9890,8 +9883,7 @@ ${leave})";
|
||||
auto enumIt = m_enums.find( "VkResult" );
|
||||
for ( auto const & value : enumIt->second.values )
|
||||
{
|
||||
// Only generate exception class for non-alias results codes
|
||||
if ( value.alias.empty() && value.name.starts_with( "VK_ERROR" ) )
|
||||
if ( value.name.starts_with( "VK_ERROR" ) )
|
||||
{
|
||||
auto [enter, leave] = generateProtection( value.protect );
|
||||
std::string valueName = generateEnumValueName( enumIt->first, value.name, false );
|
||||
@ -11618,8 +11610,7 @@ std::string VulkanHppGenerator::generateThrowResultException() const
|
||||
std::string cases;
|
||||
for ( auto const & value : enumIt->second.values )
|
||||
{
|
||||
// only generate throw-functions for non-alias error codes
|
||||
if ( value.alias.empty() && value.name.starts_with( "VK_ERROR" ) )
|
||||
if ( value.name.starts_with( "VK_ERROR" ) )
|
||||
{
|
||||
const auto [enter, leave] = generateProtection( value.protect );
|
||||
std::string valueName = generateEnumValueName( enumIt->first, value.name, false );
|
||||
@ -14449,10 +14440,6 @@ void VulkanHppGenerator::readSyncAccess( tinyxml2::XMLElement const *
|
||||
{
|
||||
assert( attribute.first == "name" );
|
||||
auto namePtr = findEnumValueData( accessFlagBits2It, attribute.second );
|
||||
while ( namePtr && !namePtr->alias.empty() )
|
||||
{
|
||||
namePtr = findEnumValueData( accessFlagBits2It, namePtr->alias );
|
||||
}
|
||||
checkForError( namePtr != nullptr, line, "syncaccess name <" + attribute.second + "> not specified as a VkAccessFlagBits value!" );
|
||||
if ( aliasPtr != nullptr )
|
||||
{
|
||||
@ -14561,10 +14548,6 @@ void VulkanHppGenerator::readSyncStage( tinyxml2::XMLElement const *
|
||||
{
|
||||
assert( attribute.first == "name" );
|
||||
auto namePtr = findEnumValueData( stageFlagBits2It, attribute.second );
|
||||
while ( namePtr && !namePtr->alias.empty() )
|
||||
{
|
||||
namePtr = findEnumValueData( stageFlagBits2It, namePtr->alias );
|
||||
}
|
||||
checkForError( namePtr != nullptr, line, "syncstage name <" + attribute.second + "> not specified as a VkPipelineStageFlagBits2 value!" );
|
||||
if ( aliasPtr != nullptr )
|
||||
{
|
||||
@ -15425,26 +15408,19 @@ std::string VulkanHppGenerator::toString( TypeCategory category )
|
||||
void VulkanHppGenerator::EnumData::addEnumAlias( int line, std::string const & name, std::string const & alias, std::string const & protect, bool supported )
|
||||
{
|
||||
auto & valuesRef = supported ? values : unsupportedValues;
|
||||
auto valueIt = std::find_if( valuesRef.begin(), valuesRef.end(), [&name]( EnumValueData const & evd ) { return evd.name == name; } );
|
||||
if ( valueIt != valuesRef.end() )
|
||||
auto valueIt =
|
||||
std::find_if( valuesRef.begin(), valuesRef.end(), [&alias]( EnumValueData const & evd ) { return evd.name == alias || evd.aliases.contains( alias ); } );
|
||||
if ( valueIt == valuesRef.end() )
|
||||
{
|
||||
if ( supported )
|
||||
{
|
||||
checkForError( ( valueIt->alias == alias ) && ( valueIt->protect == protect ) && valueIt->bitpos.empty() && valueIt->value.empty(),
|
||||
line,
|
||||
"enum alias <" + name + "> already specified with different attributes" );
|
||||
}
|
||||
else
|
||||
{
|
||||
checkForWarning( ( valueIt->alias == alias ) && ( valueIt->protect == protect ) && valueIt->bitpos.empty() && valueIt->value.empty(),
|
||||
line,
|
||||
"enum alias <" + name + "> already specified with different attributes" );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
valuesRef.push_back( { alias, "", name, protect, "", line } );
|
||||
// the alias is defined before the aliased enum!! -> insert a preliminary enum value with bitpos or value
|
||||
addEnumValue( -1, alias, "", "", "", supported );
|
||||
assert( valuesRef.back().name == alias );
|
||||
valueIt = std::prev( valuesRef.end() );
|
||||
}
|
||||
checkForError( protect == valueIt->protect,
|
||||
line,
|
||||
"enum alias value <" + name + "> uses a different protection <" + protect + "> than the aliased enum value <" + alias + ">" );
|
||||
valueIt->aliases.insert( { name, line } ); // it happens, that the very same alias is listed multiple times -> no error check here!
|
||||
}
|
||||
|
||||
void VulkanHppGenerator::EnumData::addEnumValue(
|
||||
@ -15452,15 +15428,24 @@ void VulkanHppGenerator::EnumData::addEnumValue(
|
||||
{
|
||||
auto & valuesRef = supported ? values : unsupportedValues;
|
||||
auto valueIt = std::find_if( valuesRef.begin(), valuesRef.end(), [&name]( EnumValueData const & evd ) { return evd.name == name; } );
|
||||
if ( valueIt != valuesRef.end() )
|
||||
if ( valueIt == valuesRef.end() )
|
||||
{
|
||||
checkForError( valueIt->alias.empty() && ( valueIt->protect == protect ) && ( valueIt->bitpos == bitpos ) && ( valueIt->value == value ),
|
||||
line,
|
||||
"enum value <" + name + "> already specified with different attributes" );
|
||||
valuesRef.push_back( { {}, bitpos, name, protect, value, line } );
|
||||
}
|
||||
else if ( valueIt->xmlLine == -1 )
|
||||
{
|
||||
// this enum value has been listed by an alias before!
|
||||
assert( !valueIt->aliases.empty() && valueIt->bitpos.empty() && valueIt->protect.empty() && valueIt->value.empty() );
|
||||
valueIt->bitpos = bitpos;
|
||||
valueIt->protect = protect;
|
||||
valueIt->value = value;
|
||||
valueIt->xmlLine = line;
|
||||
}
|
||||
else
|
||||
{
|
||||
valuesRef.push_back( { "", bitpos, name, protect, value, line } );
|
||||
checkForError( ( protect == valueIt->protect ) && ( bitpos == valueIt->bitpos ) && ( value == valueIt->value ),
|
||||
line,
|
||||
"enum value <" + name + "> already listed with different properties" );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -135,12 +135,12 @@ private:
|
||||
|
||||
struct EnumValueData
|
||||
{
|
||||
std::string alias = {};
|
||||
std::string bitpos = {};
|
||||
std::string name = {};
|
||||
std::string protect = {};
|
||||
std::string value = {};
|
||||
int xmlLine = {};
|
||||
std::map<std::string, int> aliases = {};
|
||||
std::string bitpos = {};
|
||||
std::string name = {};
|
||||
std::string protect = {};
|
||||
std::string value = {};
|
||||
int xmlLine = {};
|
||||
};
|
||||
|
||||
struct EnumData
|
||||
@ -465,6 +465,7 @@ private:
|
||||
std::vector<MemberData>::const_iterator findStructMemberItByType( std::string const & type, std::vector<MemberData> const & memberData ) const;
|
||||
std::vector<ExtensionData>::const_iterator findSupportedExtension( std::string const & name ) const;
|
||||
std::string findTag( std::string const & name, std::string const & postfix = "" ) const;
|
||||
void fixEnumValueIssues();
|
||||
std::pair<std::string, std::string> generateAllocatorTemplates( std::vector<size_t> const & returnParams,
|
||||
std::vector<std::string> const & returnDataTypes,
|
||||
std::map<size_t, VectorParamData> const & vectorParams,
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -77,14 +77,14 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
result += "CositedChromaSamples | ";
|
||||
if ( value & FormatFeatureFlagBits::eSampledImageFilterMinmax )
|
||||
result += "SampledImageFilterMinmax | ";
|
||||
if ( value & FormatFeatureFlagBits::eSampledImageFilterCubicEXT )
|
||||
result += "SampledImageFilterCubicEXT | ";
|
||||
if ( value & FormatFeatureFlagBits::eVideoDecodeOutputKHR )
|
||||
result += "VideoDecodeOutputKHR | ";
|
||||
if ( value & FormatFeatureFlagBits::eVideoDecodeDpbKHR )
|
||||
result += "VideoDecodeDpbKHR | ";
|
||||
if ( value & FormatFeatureFlagBits::eAccelerationStructureVertexBufferKHR )
|
||||
result += "AccelerationStructureVertexBufferKHR | ";
|
||||
if ( value & FormatFeatureFlagBits::eSampledImageFilterCubicEXT )
|
||||
result += "SampledImageFilterCubicEXT | ";
|
||||
if ( value & FormatFeatureFlagBits::eFragmentDensityMapEXT )
|
||||
result += "FragmentDensityMapEXT | ";
|
||||
if ( value & FormatFeatureFlagBits::eFragmentShadingRateAttachmentKHR )
|
||||
@ -175,10 +175,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
result += "VideoDecodeSrcKHR | ";
|
||||
if ( value & ImageUsageFlagBits::eVideoDecodeDpbKHR )
|
||||
result += "VideoDecodeDpbKHR | ";
|
||||
if ( value & ImageUsageFlagBits::eFragmentDensityMapEXT )
|
||||
result += "FragmentDensityMapEXT | ";
|
||||
if ( value & ImageUsageFlagBits::eFragmentShadingRateAttachmentKHR )
|
||||
result += "FragmentShadingRateAttachmentKHR | ";
|
||||
if ( value & ImageUsageFlagBits::eFragmentDensityMapEXT )
|
||||
result += "FragmentDensityMapEXT | ";
|
||||
if ( value & ImageUsageFlagBits::eHostTransferEXT )
|
||||
result += "HostTransferEXT | ";
|
||||
if ( value & ImageUsageFlagBits::eVideoEncodeDstKHR )
|
||||
@ -368,16 +368,16 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
result += "AccelerationStructureBuildKHR | ";
|
||||
if ( value & PipelineStageFlagBits::eRayTracingShaderKHR )
|
||||
result += "RayTracingShaderKHR | ";
|
||||
if ( value & PipelineStageFlagBits::eFragmentDensityProcessEXT )
|
||||
result += "FragmentDensityProcessEXT | ";
|
||||
if ( value & PipelineStageFlagBits::eFragmentShadingRateAttachmentKHR )
|
||||
result += "FragmentShadingRateAttachmentKHR | ";
|
||||
if ( value & PipelineStageFlagBits::eCommandPreprocessNV )
|
||||
result += "CommandPreprocessNV | ";
|
||||
if ( value & PipelineStageFlagBits::eTaskShaderEXT )
|
||||
result += "TaskShaderEXT | ";
|
||||
if ( value & PipelineStageFlagBits::eMeshShaderEXT )
|
||||
result += "MeshShaderEXT | ";
|
||||
if ( value & PipelineStageFlagBits::eFragmentDensityProcessEXT )
|
||||
result += "FragmentDensityProcessEXT | ";
|
||||
if ( value & PipelineStageFlagBits::eCommandPreprocessNV )
|
||||
result += "CommandPreprocessNV | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
@ -966,10 +966,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
result += "DescriptorBufferEXT | ";
|
||||
if ( value & DescriptorSetLayoutCreateFlagBits::eEmbeddedImmutableSamplersEXT )
|
||||
result += "EmbeddedImmutableSamplersEXT | ";
|
||||
if ( value & DescriptorSetLayoutCreateFlagBits::eIndirectBindableNV )
|
||||
result += "IndirectBindableNV | ";
|
||||
if ( value & DescriptorSetLayoutCreateFlagBits::eHostOnlyPoolEXT )
|
||||
result += "HostOnlyPoolEXT | ";
|
||||
if ( value & DescriptorSetLayoutCreateFlagBits::eIndirectBindableNV )
|
||||
result += "IndirectBindableNV | ";
|
||||
if ( value & DescriptorSetLayoutCreateFlagBits::ePerStageNV )
|
||||
result += "PerStageNV | ";
|
||||
|
||||
@ -1030,10 +1030,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
result += "AccelerationStructureReadKHR | ";
|
||||
if ( value & AccessFlagBits::eAccelerationStructureWriteKHR )
|
||||
result += "AccelerationStructureWriteKHR | ";
|
||||
if ( value & AccessFlagBits::eFragmentDensityMapReadEXT )
|
||||
result += "FragmentDensityMapReadEXT | ";
|
||||
if ( value & AccessFlagBits::eFragmentShadingRateAttachmentReadKHR )
|
||||
result += "FragmentShadingRateAttachmentReadKHR | ";
|
||||
if ( value & AccessFlagBits::eFragmentDensityMapReadEXT )
|
||||
result += "FragmentDensityMapReadEXT | ";
|
||||
if ( value & AccessFlagBits::eCommandPreprocessReadNV )
|
||||
result += "CommandPreprocessReadNV | ";
|
||||
if ( value & AccessFlagBits::eCommandPreprocessWriteNV )
|
||||
@ -4091,11 +4091,13 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::ePipelineRepresentativeFragmentTestStateCreateInfoNV: return "PipelineRepresentativeFragmentTestStateCreateInfoNV";
|
||||
case StructureType::ePhysicalDeviceImageViewImageFormatInfoEXT: return "PhysicalDeviceImageViewImageFormatInfoEXT";
|
||||
case StructureType::eFilterCubicImageViewImageFormatPropertiesEXT: return "FilterCubicImageViewImageFormatPropertiesEXT";
|
||||
case StructureType::eDeviceQueueGlobalPriorityCreateInfoKHR: return "DeviceQueueGlobalPriorityCreateInfoKHR";
|
||||
case StructureType::eImportMemoryHostPointerInfoEXT: return "ImportMemoryHostPointerInfoEXT";
|
||||
case StructureType::eMemoryHostPointerPropertiesEXT: return "MemoryHostPointerPropertiesEXT";
|
||||
case StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT: return "PhysicalDeviceExternalMemoryHostPropertiesEXT";
|
||||
case StructureType::ePhysicalDeviceShaderClockFeaturesKHR: return "PhysicalDeviceShaderClockFeaturesKHR";
|
||||
case StructureType::ePipelineCompilerControlCreateInfoAMD: return "PipelineCompilerControlCreateInfoAMD";
|
||||
case StructureType::eCalibratedTimestampInfoKHR: return "CalibratedTimestampInfoKHR";
|
||||
case StructureType::ePhysicalDeviceShaderCorePropertiesAMD: return "PhysicalDeviceShaderCorePropertiesAMD";
|
||||
case StructureType::eVideoDecodeH265CapabilitiesKHR: return "VideoDecodeH265CapabilitiesKHR";
|
||||
case StructureType::eVideoDecodeH265SessionParametersCreateInfoKHR: return "VideoDecodeH265SessionParametersCreateInfoKHR";
|
||||
@ -4103,17 +4105,19 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::eVideoDecodeH265ProfileInfoKHR: return "VideoDecodeH265ProfileInfoKHR";
|
||||
case StructureType::eVideoDecodeH265PictureInfoKHR: return "VideoDecodeH265PictureInfoKHR";
|
||||
case StructureType::eVideoDecodeH265DpbSlotInfoKHR: return "VideoDecodeH265DpbSlotInfoKHR";
|
||||
case StructureType::eDeviceQueueGlobalPriorityCreateInfoKHR: return "DeviceQueueGlobalPriorityCreateInfoKHR";
|
||||
case StructureType::ePhysicalDeviceGlobalPriorityQueryFeaturesKHR: return "PhysicalDeviceGlobalPriorityQueryFeaturesKHR";
|
||||
case StructureType::eQueueFamilyGlobalPriorityPropertiesKHR: return "QueueFamilyGlobalPriorityPropertiesKHR";
|
||||
case StructureType::eDeviceMemoryOverallocationCreateInfoAMD: return "DeviceMemoryOverallocationCreateInfoAMD";
|
||||
case StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT: return "PhysicalDeviceVertexAttributeDivisorPropertiesEXT";
|
||||
case StructureType::ePipelineVertexInputDivisorStateCreateInfoKHR: return "PipelineVertexInputDivisorStateCreateInfoKHR";
|
||||
case StructureType::ePhysicalDeviceVertexAttributeDivisorFeaturesKHR: return "PhysicalDeviceVertexAttributeDivisorFeaturesKHR";
|
||||
#if defined( VK_USE_PLATFORM_GGP )
|
||||
case StructureType::ePresentFrameTokenGGP: return "PresentFrameTokenGGP";
|
||||
#endif /*VK_USE_PLATFORM_GGP*/
|
||||
case StructureType::ePhysicalDeviceComputeShaderDerivativesFeaturesNV: return "PhysicalDeviceComputeShaderDerivativesFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceMeshShaderFeaturesNV: return "PhysicalDeviceMeshShaderFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceMeshShaderPropertiesNV: return "PhysicalDeviceMeshShaderPropertiesNV";
|
||||
case StructureType::ePhysicalDeviceFragmentShaderBarycentricFeaturesKHR: return "PhysicalDeviceFragmentShaderBarycentricFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceShaderImageFootprintFeaturesNV: return "PhysicalDeviceShaderImageFootprintFeaturesNV";
|
||||
case StructureType::ePipelineViewportExclusiveScissorStateCreateInfoNV: return "PipelineViewportExclusiveScissorStateCreateInfoNV";
|
||||
case StructureType::ePhysicalDeviceExclusiveScissorFeaturesNV: return "PhysicalDeviceExclusiveScissorFeaturesNV";
|
||||
@ -4176,7 +4180,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::eSurfaceFullScreenExclusiveWin32InfoEXT: return "SurfaceFullScreenExclusiveWin32InfoEXT";
|
||||
#endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
case StructureType::eHeadlessSurfaceCreateInfoEXT: return "HeadlessSurfaceCreateInfoEXT";
|
||||
case StructureType::ePhysicalDeviceLineRasterizationFeaturesKHR: return "PhysicalDeviceLineRasterizationFeaturesKHR";
|
||||
case StructureType::ePipelineRasterizationLineStateCreateInfoKHR: return "PipelineRasterizationLineStateCreateInfoKHR";
|
||||
case StructureType::ePhysicalDeviceLineRasterizationPropertiesKHR: return "PhysicalDeviceLineRasterizationPropertiesKHR";
|
||||
case StructureType::ePhysicalDeviceShaderAtomicFloatFeaturesEXT: return "PhysicalDeviceShaderAtomicFloatFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceIndexTypeUint8FeaturesKHR: return "PhysicalDeviceIndexTypeUint8FeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceExtendedDynamicStateFeaturesEXT: return "PhysicalDeviceExtendedDynamicStateFeaturesEXT";
|
||||
case StructureType::ePhysicalDevicePipelineExecutablePropertiesFeaturesKHR: return "PhysicalDevicePipelineExecutablePropertiesFeaturesKHR";
|
||||
case StructureType::ePipelineInfoKHR: return "PipelineInfoKHR";
|
||||
@ -4293,7 +4301,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::ePhysicalDeviceGraphicsPipelineLibraryPropertiesEXT: return "PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT";
|
||||
case StructureType::eGraphicsPipelineLibraryCreateInfoEXT: return "GraphicsPipelineLibraryCreateInfoEXT";
|
||||
case StructureType::ePhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD: return "PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD";
|
||||
case StructureType::ePhysicalDeviceFragmentShaderBarycentricFeaturesKHR: return "PhysicalDeviceFragmentShaderBarycentricFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceFragmentShaderBarycentricPropertiesKHR: return "PhysicalDeviceFragmentShaderBarycentricPropertiesKHR";
|
||||
case StructureType::ePhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR: return "PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceFragmentShadingRateEnumsPropertiesNV: return "PhysicalDeviceFragmentShadingRateEnumsPropertiesNV";
|
||||
@ -4311,16 +4318,21 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::ePhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR: return "PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceImageCompressionControlFeaturesEXT: return "PhysicalDeviceImageCompressionControlFeaturesEXT";
|
||||
case StructureType::eImageCompressionControlEXT: return "ImageCompressionControlEXT";
|
||||
case StructureType::eSubresourceLayout2KHR: return "SubresourceLayout2KHR";
|
||||
case StructureType::eImageSubresource2KHR: return "ImageSubresource2KHR";
|
||||
case StructureType::eImageCompressionPropertiesEXT: return "ImageCompressionPropertiesEXT";
|
||||
case StructureType::ePhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT: return "PhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT";
|
||||
case StructureType::ePhysicalDevice4444FormatsFeaturesEXT: return "PhysicalDevice4444FormatsFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceFaultFeaturesEXT: return "PhysicalDeviceFaultFeaturesEXT";
|
||||
case StructureType::eDeviceFaultCountsEXT: return "DeviceFaultCountsEXT";
|
||||
case StructureType::eDeviceFaultInfoEXT: return "DeviceFaultInfoEXT";
|
||||
case StructureType::ePhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT: return "PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceRgba10X6FormatsFeaturesEXT: return "PhysicalDeviceRgba10X6FormatsFeaturesEXT";
|
||||
#if defined( VK_USE_PLATFORM_DIRECTFB_EXT )
|
||||
case StructureType::eDirectfbSurfaceCreateInfoEXT: return "DirectfbSurfaceCreateInfoEXT";
|
||||
#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/
|
||||
case StructureType::ePhysicalDeviceMutableDescriptorTypeFeaturesEXT: return "PhysicalDeviceMutableDescriptorTypeFeaturesEXT";
|
||||
case StructureType::eMutableDescriptorTypeCreateInfoEXT: return "MutableDescriptorTypeCreateInfoEXT";
|
||||
case StructureType::ePhysicalDeviceVertexInputDynamicStateFeaturesEXT: return "PhysicalDeviceVertexInputDynamicStateFeaturesEXT";
|
||||
case StructureType::eVertexInputBindingDescription2EXT: return "VertexInputBindingDescription2EXT";
|
||||
case StructureType::eVertexInputAttributeDescription2EXT: return "VertexInputAttributeDescription2EXT";
|
||||
@ -4444,7 +4456,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::ePhysicalDeviceShaderModuleIdentifierPropertiesEXT: return "PhysicalDeviceShaderModuleIdentifierPropertiesEXT";
|
||||
case StructureType::ePipelineShaderStageModuleIdentifierCreateInfoEXT: return "PipelineShaderStageModuleIdentifierCreateInfoEXT";
|
||||
case StructureType::eShaderModuleIdentifierEXT: return "ShaderModuleIdentifierEXT";
|
||||
case StructureType::ePhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT: return "PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceOpticalFlowFeaturesNV: return "PhysicalDeviceOpticalFlowFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceOpticalFlowPropertiesNV: return "PhysicalDeviceOpticalFlowPropertiesNV";
|
||||
case StructureType::eOpticalFlowImageFormatInfoNV: return "OpticalFlowImageFormatInfoNV";
|
||||
@ -4463,8 +4474,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::ePhysicalDeviceMaintenance5PropertiesKHR: return "PhysicalDeviceMaintenance5PropertiesKHR";
|
||||
case StructureType::eRenderingAreaInfoKHR: return "RenderingAreaInfoKHR";
|
||||
case StructureType::eDeviceImageSubresourceInfoKHR: return "DeviceImageSubresourceInfoKHR";
|
||||
case StructureType::eSubresourceLayout2KHR: return "SubresourceLayout2KHR";
|
||||
case StructureType::eImageSubresource2KHR: return "ImageSubresource2KHR";
|
||||
case StructureType::ePipelineCreateFlags2CreateInfoKHR: return "PipelineCreateFlags2CreateInfoKHR";
|
||||
case StructureType::eBufferUsageFlags2CreateInfoKHR: return "BufferUsageFlags2CreateInfoKHR";
|
||||
case StructureType::ePhysicalDeviceRayTracingPositionFetchFeaturesKHR: return "PhysicalDeviceRayTracingPositionFetchFeaturesKHR";
|
||||
@ -4480,8 +4489,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::ePhysicalDeviceRayTracingInvocationReorderPropertiesNV: return "PhysicalDeviceRayTracingInvocationReorderPropertiesNV";
|
||||
case StructureType::ePhysicalDeviceExtendedSparseAddressSpaceFeaturesNV: return "PhysicalDeviceExtendedSparseAddressSpaceFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceExtendedSparseAddressSpacePropertiesNV: return "PhysicalDeviceExtendedSparseAddressSpacePropertiesNV";
|
||||
case StructureType::ePhysicalDeviceMutableDescriptorTypeFeaturesEXT: return "PhysicalDeviceMutableDescriptorTypeFeaturesEXT";
|
||||
case StructureType::eMutableDescriptorTypeCreateInfoEXT: return "MutableDescriptorTypeCreateInfoEXT";
|
||||
case StructureType::eLayerSettingsCreateInfoEXT: return "LayerSettingsCreateInfoEXT";
|
||||
case StructureType::ePhysicalDeviceShaderCoreBuiltinsFeaturesARM: return "PhysicalDeviceShaderCoreBuiltinsFeaturesARM";
|
||||
case StructureType::ePhysicalDeviceShaderCoreBuiltinsPropertiesARM: return "PhysicalDeviceShaderCoreBuiltinsPropertiesARM";
|
||||
@ -4520,8 +4527,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::ePhysicalDeviceCubicClampFeaturesQCOM: return "PhysicalDeviceCubicClampFeaturesQCOM";
|
||||
case StructureType::ePhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT: return "PhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesKHR: return "PhysicalDeviceVertexAttributeDivisorPropertiesKHR";
|
||||
case StructureType::ePipelineVertexInputDivisorStateCreateInfoKHR: return "PipelineVertexInputDivisorStateCreateInfoKHR";
|
||||
case StructureType::ePhysicalDeviceVertexAttributeDivisorFeaturesKHR: return "PhysicalDeviceVertexAttributeDivisorFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceShaderFloatControls2FeaturesKHR: return "PhysicalDeviceShaderFloatControls2FeaturesKHR";
|
||||
#if defined( VK_USE_PLATFORM_SCREEN_QNX )
|
||||
case StructureType::eScreenBufferPropertiesQNX: return "ScreenBufferPropertiesQNX";
|
||||
@ -4531,11 +4536,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::ePhysicalDeviceExternalMemoryScreenBufferFeaturesQNX: return "PhysicalDeviceExternalMemoryScreenBufferFeaturesQNX";
|
||||
#endif /*VK_USE_PLATFORM_SCREEN_QNX*/
|
||||
case StructureType::ePhysicalDeviceLayeredDriverPropertiesMSFT: return "PhysicalDeviceLayeredDriverPropertiesMSFT";
|
||||
case StructureType::ePhysicalDeviceIndexTypeUint8FeaturesKHR: return "PhysicalDeviceIndexTypeUint8FeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceLineRasterizationFeaturesKHR: return "PhysicalDeviceLineRasterizationFeaturesKHR";
|
||||
case StructureType::ePipelineRasterizationLineStateCreateInfoKHR: return "PipelineRasterizationLineStateCreateInfoKHR";
|
||||
case StructureType::ePhysicalDeviceLineRasterizationPropertiesKHR: return "PhysicalDeviceLineRasterizationPropertiesKHR";
|
||||
case StructureType::eCalibratedTimestampInfoKHR: return "CalibratedTimestampInfoKHR";
|
||||
case StructureType::ePhysicalDeviceShaderExpectAssumeFeaturesKHR: return "PhysicalDeviceShaderExpectAssumeFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceMaintenance6FeaturesKHR: return "PhysicalDeviceMaintenance6FeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceMaintenance6PropertiesKHR: return "PhysicalDeviceMaintenance6PropertiesKHR";
|
||||
@ -4927,10 +4927,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case FormatFeatureFlagBits::eDisjoint: return "Disjoint";
|
||||
case FormatFeatureFlagBits::eCositedChromaSamples: return "CositedChromaSamples";
|
||||
case FormatFeatureFlagBits::eSampledImageFilterMinmax: return "SampledImageFilterMinmax";
|
||||
case FormatFeatureFlagBits::eSampledImageFilterCubicEXT: return "SampledImageFilterCubicEXT";
|
||||
case FormatFeatureFlagBits::eVideoDecodeOutputKHR: return "VideoDecodeOutputKHR";
|
||||
case FormatFeatureFlagBits::eVideoDecodeDpbKHR: return "VideoDecodeDpbKHR";
|
||||
case FormatFeatureFlagBits::eAccelerationStructureVertexBufferKHR: return "AccelerationStructureVertexBufferKHR";
|
||||
case FormatFeatureFlagBits::eSampledImageFilterCubicEXT: return "SampledImageFilterCubicEXT";
|
||||
case FormatFeatureFlagBits::eFragmentDensityMapEXT: return "FragmentDensityMapEXT";
|
||||
case FormatFeatureFlagBits::eFragmentShadingRateAttachmentKHR: return "FragmentShadingRateAttachmentKHR";
|
||||
case FormatFeatureFlagBits::eVideoEncodeInputKHR: return "VideoEncodeInputKHR";
|
||||
@ -5004,8 +5004,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case ImageUsageFlagBits::eVideoDecodeDstKHR: return "VideoDecodeDstKHR";
|
||||
case ImageUsageFlagBits::eVideoDecodeSrcKHR: return "VideoDecodeSrcKHR";
|
||||
case ImageUsageFlagBits::eVideoDecodeDpbKHR: return "VideoDecodeDpbKHR";
|
||||
case ImageUsageFlagBits::eFragmentDensityMapEXT: return "FragmentDensityMapEXT";
|
||||
case ImageUsageFlagBits::eFragmentShadingRateAttachmentKHR: return "FragmentShadingRateAttachmentKHR";
|
||||
case ImageUsageFlagBits::eFragmentDensityMapEXT: return "FragmentDensityMapEXT";
|
||||
case ImageUsageFlagBits::eHostTransferEXT: return "HostTransferEXT";
|
||||
case ImageUsageFlagBits::eVideoEncodeDstKHR: return "VideoEncodeDstKHR";
|
||||
case ImageUsageFlagBits::eVideoEncodeSrcKHR: return "VideoEncodeSrcKHR";
|
||||
@ -5160,11 +5160,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case PipelineStageFlagBits::eConditionalRenderingEXT: return "ConditionalRenderingEXT";
|
||||
case PipelineStageFlagBits::eAccelerationStructureBuildKHR: return "AccelerationStructureBuildKHR";
|
||||
case PipelineStageFlagBits::eRayTracingShaderKHR: return "RayTracingShaderKHR";
|
||||
case PipelineStageFlagBits::eFragmentDensityProcessEXT: return "FragmentDensityProcessEXT";
|
||||
case PipelineStageFlagBits::eFragmentShadingRateAttachmentKHR: return "FragmentShadingRateAttachmentKHR";
|
||||
case PipelineStageFlagBits::eCommandPreprocessNV: return "CommandPreprocessNV";
|
||||
case PipelineStageFlagBits::eTaskShaderEXT: return "TaskShaderEXT";
|
||||
case PipelineStageFlagBits::eMeshShaderEXT: return "MeshShaderEXT";
|
||||
case PipelineStageFlagBits::eFragmentDensityProcessEXT: return "FragmentDensityProcessEXT";
|
||||
case PipelineStageFlagBits::eCommandPreprocessNV: return "CommandPreprocessNV";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
@ -5398,8 +5398,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case ImageLayout::eVideoDecodeSrcKHR: return "VideoDecodeSrcKHR";
|
||||
case ImageLayout::eVideoDecodeDpbKHR: return "VideoDecodeDpbKHR";
|
||||
case ImageLayout::eSharedPresentKHR: return "SharedPresentKHR";
|
||||
case ImageLayout::eFragmentDensityMapOptimalEXT: return "FragmentDensityMapOptimalEXT";
|
||||
case ImageLayout::eFragmentShadingRateAttachmentOptimalKHR: return "FragmentShadingRateAttachmentOptimalKHR";
|
||||
case ImageLayout::eFragmentDensityMapOptimalEXT: return "FragmentDensityMapOptimalEXT";
|
||||
case ImageLayout::eRenderingLocalReadKHR: return "RenderingLocalReadKHR";
|
||||
case ImageLayout::eVideoEncodeDstKHR: return "VideoEncodeDstKHR";
|
||||
case ImageLayout::eVideoEncodeSrcKHR: return "VideoEncodeSrcKHR";
|
||||
@ -5629,6 +5629,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case DynamicState::eExclusiveScissorEnableNV: return "ExclusiveScissorEnableNV";
|
||||
case DynamicState::eExclusiveScissorNV: return "ExclusiveScissorNV";
|
||||
case DynamicState::eFragmentShadingRateKHR: return "FragmentShadingRateKHR";
|
||||
case DynamicState::eLineStippleKHR: return "LineStippleKHR";
|
||||
case DynamicState::eVertexInputEXT: return "VertexInputEXT";
|
||||
case DynamicState::ePatchControlPointsEXT: return "PatchControlPointsEXT";
|
||||
case DynamicState::eLogicOpEXT: return "LogicOpEXT";
|
||||
@ -5665,7 +5666,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case DynamicState::eRepresentativeFragmentTestEnableNV: return "RepresentativeFragmentTestEnableNV";
|
||||
case DynamicState::eCoverageReductionModeNV: return "CoverageReductionModeNV";
|
||||
case DynamicState::eAttachmentFeedbackLoopEnableEXT: return "AttachmentFeedbackLoopEnableEXT";
|
||||
case DynamicState::eLineStippleKHR: return "LineStippleKHR";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
@ -5985,8 +5985,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR: return "PushDescriptorKHR";
|
||||
case DescriptorSetLayoutCreateFlagBits::eDescriptorBufferEXT: return "DescriptorBufferEXT";
|
||||
case DescriptorSetLayoutCreateFlagBits::eEmbeddedImmutableSamplersEXT: return "EmbeddedImmutableSamplersEXT";
|
||||
case DescriptorSetLayoutCreateFlagBits::eIndirectBindableNV: return "IndirectBindableNV";
|
||||
case DescriptorSetLayoutCreateFlagBits::eHostOnlyPoolEXT: return "HostOnlyPoolEXT";
|
||||
case DescriptorSetLayoutCreateFlagBits::eIndirectBindableNV: return "IndirectBindableNV";
|
||||
case DescriptorSetLayoutCreateFlagBits::ePerStageNV: return "PerStageNV";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
@ -6010,9 +6010,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case DescriptorType::eInlineUniformBlock: return "InlineUniformBlock";
|
||||
case DescriptorType::eAccelerationStructureKHR: return "AccelerationStructureKHR";
|
||||
case DescriptorType::eAccelerationStructureNV: return "AccelerationStructureNV";
|
||||
case DescriptorType::eMutableEXT: return "MutableEXT";
|
||||
case DescriptorType::eSampleWeightImageQCOM: return "SampleWeightImageQCOM";
|
||||
case DescriptorType::eBlockMatchImageQCOM: return "BlockMatchImageQCOM";
|
||||
case DescriptorType::eMutableEXT: return "MutableEXT";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
@ -6051,8 +6051,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case AccessFlagBits::eColorAttachmentReadNoncoherentEXT: return "ColorAttachmentReadNoncoherentEXT";
|
||||
case AccessFlagBits::eAccelerationStructureReadKHR: return "AccelerationStructureReadKHR";
|
||||
case AccessFlagBits::eAccelerationStructureWriteKHR: return "AccelerationStructureWriteKHR";
|
||||
case AccessFlagBits::eFragmentDensityMapReadEXT: return "FragmentDensityMapReadEXT";
|
||||
case AccessFlagBits::eFragmentShadingRateAttachmentReadKHR: return "FragmentShadingRateAttachmentReadKHR";
|
||||
case AccessFlagBits::eFragmentDensityMapReadEXT: return "FragmentDensityMapReadEXT";
|
||||
case AccessFlagBits::eCommandPreprocessReadNV: return "CommandPreprocessReadNV";
|
||||
case AccessFlagBits::eCommandPreprocessWriteNV: return "CommandPreprocessWriteNV";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
|
@ -449,6 +449,7 @@ export namespace VULKAN_HPP_NAMESPACE
|
||||
using VULKAN_HPP_NAMESPACE::MemoryMapFailedError;
|
||||
using VULKAN_HPP_NAMESPACE::NativeWindowInUseKHRError;
|
||||
using VULKAN_HPP_NAMESPACE::NoPipelineMatchError;
|
||||
using VULKAN_HPP_NAMESPACE::NotPermittedKHRError;
|
||||
using VULKAN_HPP_NAMESPACE::OutOfDateKHRError;
|
||||
using VULKAN_HPP_NAMESPACE::OutOfDeviceMemoryError;
|
||||
using VULKAN_HPP_NAMESPACE::OutOfHostMemoryError;
|
||||
|
@ -3704,6 +3704,14 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
};
|
||||
|
||||
class NotPermittedKHRError : public SystemError
|
||||
{
|
||||
public:
|
||||
NotPermittedKHRError( std::string const & message ) : SystemError( make_error_code( Result::eErrorNotPermittedKHR ), message ) {}
|
||||
|
||||
NotPermittedKHRError( char const * message ) : SystemError( make_error_code( Result::eErrorNotPermittedKHR ), message ) {}
|
||||
};
|
||||
|
||||
namespace detail
|
||||
{
|
||||
[[noreturn]] VULKAN_HPP_INLINE void throwResultException( Result result, char const * message )
|
||||
@ -3735,6 +3743,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case Result::eErrorOutOfDateKHR: throw OutOfDateKHRError( message );
|
||||
case Result::eErrorIncompatibleDisplayKHR: throw IncompatibleDisplayKHRError( message );
|
||||
case Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT: throw InvalidDrmFormatModifierPlaneLayoutEXTError( message );
|
||||
case Result::eErrorNotPermittedKHR: throw NotPermittedKHRError( message );
|
||||
default: throw SystemError( make_error_code( result ), message );
|
||||
}
|
||||
}
|
||||
|
@ -257,6 +257,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eErrorOutOfDateKHR = VK_ERROR_OUT_OF_DATE_KHR,
|
||||
eErrorIncompatibleDisplayKHR = VK_ERROR_INCOMPATIBLE_DISPLAY_KHR,
|
||||
eErrorInvalidDrmFormatModifierPlaneLayoutEXT = VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT,
|
||||
eErrorNotPermittedKHR = VK_ERROR_NOT_PERMITTED_KHR,
|
||||
eErrorNotPermittedEXT = VK_ERROR_NOT_PERMITTED_EXT
|
||||
};
|
||||
|
||||
@ -422,41 +423,67 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
ePhysicalDeviceVulkan13Properties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES,
|
||||
ePipelineCreationFeedbackCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO,
|
||||
ePhysicalDeviceShaderTerminateInvocationFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES,
|
||||
ePhysicalDeviceShaderTerminateInvocationFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES_KHR,
|
||||
ePhysicalDeviceToolProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES,
|
||||
ePhysicalDeviceShaderDemoteToHelperInvocationFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES,
|
||||
ePhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT,
|
||||
ePhysicalDevicePrivateDataFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES,
|
||||
eDevicePrivateDataCreateInfo = VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO,
|
||||
ePrivateDataSlotCreateInfo = VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO,
|
||||
ePhysicalDevicePipelineCreationCacheControlFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES,
|
||||
eMemoryBarrier2 = VK_STRUCTURE_TYPE_MEMORY_BARRIER_2,
|
||||
eMemoryBarrier2KHR = VK_STRUCTURE_TYPE_MEMORY_BARRIER_2_KHR,
|
||||
eBufferMemoryBarrier2 = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2,
|
||||
eBufferMemoryBarrier2KHR = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2_KHR,
|
||||
eImageMemoryBarrier2 = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2,
|
||||
eImageMemoryBarrier2KHR = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2_KHR,
|
||||
eDependencyInfo = VK_STRUCTURE_TYPE_DEPENDENCY_INFO,
|
||||
eDependencyInfoKHR = VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR,
|
||||
eSubmitInfo2 = VK_STRUCTURE_TYPE_SUBMIT_INFO_2,
|
||||
eSubmitInfo2KHR = VK_STRUCTURE_TYPE_SUBMIT_INFO_2_KHR,
|
||||
eSemaphoreSubmitInfo = VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO,
|
||||
eSemaphoreSubmitInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO_KHR,
|
||||
eCommandBufferSubmitInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO,
|
||||
eCommandBufferSubmitInfoKHR = VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO_KHR,
|
||||
ePhysicalDeviceSynchronization2Features = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES,
|
||||
ePhysicalDeviceSynchronization2FeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES_KHR,
|
||||
ePhysicalDeviceZeroInitializeWorkgroupMemoryFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES,
|
||||
ePhysicalDeviceImageRobustnessFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES,
|
||||
ePhysicalDeviceImageRobustnessFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT,
|
||||
eCopyBufferInfo2 = VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2,
|
||||
eCopyBufferInfo2KHR = VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2_KHR,
|
||||
eCopyImageInfo2 = VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2,
|
||||
eCopyImageInfo2KHR = VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2_KHR,
|
||||
eCopyBufferToImageInfo2 = VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2,
|
||||
eCopyBufferToImageInfo2KHR = VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2_KHR,
|
||||
eCopyImageToBufferInfo2 = VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2,
|
||||
eCopyImageToBufferInfo2KHR = VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2_KHR,
|
||||
eBlitImageInfo2 = VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2,
|
||||
eBlitImageInfo2KHR = VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2_KHR,
|
||||
eResolveImageInfo2 = VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2,
|
||||
eResolveImageInfo2KHR = VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2_KHR,
|
||||
eBufferCopy2 = VK_STRUCTURE_TYPE_BUFFER_COPY_2,
|
||||
eBufferCopy2KHR = VK_STRUCTURE_TYPE_BUFFER_COPY_2_KHR,
|
||||
eImageCopy2 = VK_STRUCTURE_TYPE_IMAGE_COPY_2,
|
||||
eImageCopy2KHR = VK_STRUCTURE_TYPE_IMAGE_COPY_2_KHR,
|
||||
eImageBlit2 = VK_STRUCTURE_TYPE_IMAGE_BLIT_2,
|
||||
eImageBlit2KHR = VK_STRUCTURE_TYPE_IMAGE_BLIT_2_KHR,
|
||||
eBufferImageCopy2 = VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2,
|
||||
eBufferImageCopy2KHR = VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2_KHR,
|
||||
eImageResolve2 = VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2,
|
||||
eImageResolve2KHR = VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2_KHR,
|
||||
ePhysicalDeviceSubgroupSizeControlProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES,
|
||||
ePhysicalDeviceSubgroupSizeControlPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES_EXT,
|
||||
ePipelineShaderStageRequiredSubgroupSizeCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO,
|
||||
ePipelineShaderStageRequiredSubgroupSizeCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT,
|
||||
ePhysicalDeviceSubgroupSizeControlFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES,
|
||||
ePhysicalDeviceSubgroupSizeControlFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT,
|
||||
ePhysicalDeviceInlineUniformBlockFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES,
|
||||
ePhysicalDeviceInlineUniformBlockProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES,
|
||||
eWriteDescriptorSetInlineUniformBlock = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK,
|
||||
eDescriptorPoolInlineUniformBlockCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO,
|
||||
ePhysicalDeviceTextureCompressionAstcHdrFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES,
|
||||
ePhysicalDeviceTextureCompressionAstcHdrFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES_EXT,
|
||||
eRenderingInfo = VK_STRUCTURE_TYPE_RENDERING_INFO,
|
||||
eRenderingAttachmentInfo = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,
|
||||
ePipelineRenderingCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO,
|
||||
@ -465,6 +492,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
ePhysicalDeviceShaderIntegerDotProductFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES,
|
||||
ePhysicalDeviceShaderIntegerDotProductProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES,
|
||||
ePhysicalDeviceTexelBufferAlignmentProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES,
|
||||
ePhysicalDeviceTexelBufferAlignmentPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT,
|
||||
eFormatProperties3 = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3,
|
||||
ePhysicalDeviceMaintenance4Features = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES,
|
||||
ePhysicalDeviceMaintenance4Properties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES,
|
||||
@ -491,7 +519,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eDisplaySurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR,
|
||||
eDisplayPresentInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR,
|
||||
ePrivateVendorInfoPlaceholderOffset0NV = VK_STRUCTURE_TYPE_PRIVATE_VENDOR_INFO_PLACEHOLDER_OFFSET_0_NV,
|
||||
ePhysicalDeviceTextureCompressionAstcHdrFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES_EXT,
|
||||
eImageViewAstcDecodeModeEXT = VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT,
|
||||
ePhysicalDeviceAstcDecodeFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT,
|
||||
eImportMemoryFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR,
|
||||
@ -552,20 +579,20 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eDrmFormatModifierPropertiesList2EXT = VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_2_EXT,
|
||||
ePhysicalDeviceImageViewImageFormatInfoEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT,
|
||||
eFilterCubicImageViewImageFormatPropertiesEXT = VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT,
|
||||
eDeviceQueueGlobalPriorityCreateInfoKHR = VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR,
|
||||
eDeviceQueueGlobalPriorityCreateInfoEXT = VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT,
|
||||
eImportMemoryHostPointerInfoEXT = VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT,
|
||||
eMemoryHostPointerPropertiesEXT = VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT,
|
||||
ePhysicalDeviceExternalMemoryHostPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT,
|
||||
ePhysicalDeviceShaderClockFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR,
|
||||
eCalibratedTimestampInfoKHR = VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_KHR,
|
||||
eCalibratedTimestampInfoEXT = VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT,
|
||||
ePhysicalDeviceVertexAttributeDivisorPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT,
|
||||
ePipelineVertexInputDivisorStateCreateInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_KHR,
|
||||
ePipelineVertexInputDivisorStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT,
|
||||
ePhysicalDeviceVertexAttributeDivisorFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR,
|
||||
ePhysicalDeviceVertexAttributeDivisorFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT,
|
||||
ePhysicalDevicePciBusInfoPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT,
|
||||
ePhysicalDeviceShaderTerminateInvocationFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES_KHR,
|
||||
ePhysicalDeviceSubgroupSizeControlPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES_EXT,
|
||||
ePipelineShaderStageRequiredSubgroupSizeCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT,
|
||||
ePhysicalDeviceSubgroupSizeControlFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT,
|
||||
eFragmentShadingRateAttachmentInfoKHR = VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR,
|
||||
ePipelineFragmentShadingRateStateCreateInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR,
|
||||
ePhysicalDeviceFragmentShadingRatePropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR,
|
||||
@ -577,44 +604,26 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
ePhysicalDeviceFragmentShaderInterlockFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT,
|
||||
ePhysicalDeviceYcbcrImageArraysFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT,
|
||||
eHeadlessSurfaceCreateInfoEXT = VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT,
|
||||
ePhysicalDeviceLineRasterizationFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_KHR,
|
||||
ePhysicalDeviceLineRasterizationFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT,
|
||||
ePipelineRasterizationLineStateCreateInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_KHR,
|
||||
ePipelineRasterizationLineStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT,
|
||||
ePhysicalDeviceLineRasterizationPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_KHR,
|
||||
ePhysicalDeviceLineRasterizationPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT,
|
||||
ePhysicalDeviceShaderAtomicFloatFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT,
|
||||
ePhysicalDeviceIndexTypeUint8FeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_KHR,
|
||||
ePhysicalDeviceIndexTypeUint8FeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT,
|
||||
ePhysicalDeviceExtendedDynamicStateFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT,
|
||||
ePhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT,
|
||||
ePhysicalDeviceTexelBufferAlignmentFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT,
|
||||
ePhysicalDeviceTexelBufferAlignmentPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT,
|
||||
ePhysicalDeviceRobustness2FeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT,
|
||||
ePhysicalDeviceRobustness2PropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT,
|
||||
eSamplerCustomBorderColorCreateInfoEXT = VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT,
|
||||
ePhysicalDeviceCustomBorderColorPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT,
|
||||
ePhysicalDeviceCustomBorderColorFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT,
|
||||
eRefreshObjectListKHR = VK_STRUCTURE_TYPE_REFRESH_OBJECT_LIST_KHR,
|
||||
eMemoryBarrier2KHR = VK_STRUCTURE_TYPE_MEMORY_BARRIER_2_KHR,
|
||||
eBufferMemoryBarrier2KHR = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2_KHR,
|
||||
eImageMemoryBarrier2KHR = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2_KHR,
|
||||
eDependencyInfoKHR = VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR,
|
||||
eSubmitInfo2KHR = VK_STRUCTURE_TYPE_SUBMIT_INFO_2_KHR,
|
||||
eSemaphoreSubmitInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO_KHR,
|
||||
eCommandBufferSubmitInfoKHR = VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO_KHR,
|
||||
ePhysicalDeviceSynchronization2FeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES_KHR,
|
||||
eQueueFamilyCheckpointProperties2NV = VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV,
|
||||
eCheckpointData2NV = VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV,
|
||||
ePhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT,
|
||||
ePhysicalDeviceImageRobustnessFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT,
|
||||
eCopyBufferInfo2KHR = VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2_KHR,
|
||||
eCopyImageInfo2KHR = VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2_KHR,
|
||||
eCopyBufferToImageInfo2KHR = VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2_KHR,
|
||||
eCopyImageToBufferInfo2KHR = VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2_KHR,
|
||||
eBlitImageInfo2KHR = VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2_KHR,
|
||||
eResolveImageInfo2KHR = VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2_KHR,
|
||||
eBufferCopy2KHR = VK_STRUCTURE_TYPE_BUFFER_COPY_2_KHR,
|
||||
eImageCopy2KHR = VK_STRUCTURE_TYPE_IMAGE_COPY_2_KHR,
|
||||
eImageBlit2KHR = VK_STRUCTURE_TYPE_IMAGE_BLIT_2_KHR,
|
||||
eBufferImageCopy2KHR = VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2_KHR,
|
||||
eImageResolve2KHR = VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2_KHR,
|
||||
ePhysicalDevice4444FormatsFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT,
|
||||
ePhysicalDeviceVertexInputDynamicStateFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT,
|
||||
eVertexInputBindingDescription2EXT = VK_STRUCTURE_TYPE_VERTEX_INPUT_BINDING_DESCRIPTION_2_EXT,
|
||||
@ -933,45 +942,45 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eG16B16R162Plane422Unorm = VK_FORMAT_G16_B16R16_2PLANE_422_UNORM,
|
||||
eG16B16R163Plane444Unorm = VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM,
|
||||
eG8B8R82Plane444Unorm = VK_FORMAT_G8_B8R8_2PLANE_444_UNORM,
|
||||
eG10X6B10X6R10X62Plane444Unorm3Pack16 = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16,
|
||||
eG12X4B12X4R12X42Plane444Unorm3Pack16 = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16,
|
||||
eG16B16R162Plane444Unorm = VK_FORMAT_G16_B16R16_2PLANE_444_UNORM,
|
||||
eA4R4G4B4UnormPack16 = VK_FORMAT_A4R4G4B4_UNORM_PACK16,
|
||||
eA4B4G4R4UnormPack16 = VK_FORMAT_A4B4G4R4_UNORM_PACK16,
|
||||
eAstc4x4SfloatBlock = VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK,
|
||||
eAstc5x4SfloatBlock = VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK,
|
||||
eAstc5x5SfloatBlock = VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK,
|
||||
eAstc6x5SfloatBlock = VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK,
|
||||
eAstc6x6SfloatBlock = VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK,
|
||||
eAstc8x5SfloatBlock = VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK,
|
||||
eAstc8x6SfloatBlock = VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK,
|
||||
eAstc8x8SfloatBlock = VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK,
|
||||
eAstc10x5SfloatBlock = VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK,
|
||||
eAstc10x6SfloatBlock = VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK,
|
||||
eAstc10x8SfloatBlock = VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK,
|
||||
eAstc10x10SfloatBlock = VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK,
|
||||
eAstc12x10SfloatBlock = VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK,
|
||||
eAstc12x12SfloatBlock = VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK,
|
||||
eAstc4x4SfloatBlockEXT = VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT,
|
||||
eAstc5x4SfloatBlockEXT = VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT,
|
||||
eAstc5x5SfloatBlockEXT = VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT,
|
||||
eAstc6x5SfloatBlockEXT = VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT,
|
||||
eAstc6x6SfloatBlockEXT = VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT,
|
||||
eAstc8x5SfloatBlockEXT = VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT,
|
||||
eAstc8x6SfloatBlockEXT = VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT,
|
||||
eAstc8x8SfloatBlockEXT = VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT,
|
||||
eAstc10x5SfloatBlockEXT = VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT,
|
||||
eAstc10x6SfloatBlockEXT = VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT,
|
||||
eAstc10x8SfloatBlockEXT = VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT,
|
||||
eAstc10x10SfloatBlockEXT = VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT,
|
||||
eAstc12x10SfloatBlockEXT = VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT,
|
||||
eAstc12x12SfloatBlockEXT = VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT,
|
||||
eG8B8R82Plane444UnormEXT = VK_FORMAT_G8_B8R8_2PLANE_444_UNORM_EXT,
|
||||
eG10X6B10X6R10X62Plane444Unorm3Pack16 = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16,
|
||||
eG10X6B10X6R10X62Plane444Unorm3Pack16EXT = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16_EXT,
|
||||
eG12X4B12X4R12X42Plane444Unorm3Pack16 = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16,
|
||||
eG12X4B12X4R12X42Plane444Unorm3Pack16EXT = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16_EXT,
|
||||
eG16B16R162Plane444Unorm = VK_FORMAT_G16_B16R16_2PLANE_444_UNORM,
|
||||
eG16B16R162Plane444UnormEXT = VK_FORMAT_G16_B16R16_2PLANE_444_UNORM_EXT,
|
||||
eA4R4G4B4UnormPack16 = VK_FORMAT_A4R4G4B4_UNORM_PACK16,
|
||||
eA4R4G4B4UnormPack16EXT = VK_FORMAT_A4R4G4B4_UNORM_PACK16_EXT,
|
||||
eA4B4G4R4UnormPack16EXT = VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT
|
||||
eA4B4G4R4UnormPack16 = VK_FORMAT_A4B4G4R4_UNORM_PACK16,
|
||||
eA4B4G4R4UnormPack16EXT = VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT,
|
||||
eAstc4x4SfloatBlock = VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK,
|
||||
eAstc4x4SfloatBlockEXT = VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT,
|
||||
eAstc5x4SfloatBlock = VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK,
|
||||
eAstc5x4SfloatBlockEXT = VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT,
|
||||
eAstc5x5SfloatBlock = VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK,
|
||||
eAstc5x5SfloatBlockEXT = VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT,
|
||||
eAstc6x5SfloatBlock = VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK,
|
||||
eAstc6x5SfloatBlockEXT = VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT,
|
||||
eAstc6x6SfloatBlock = VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK,
|
||||
eAstc6x6SfloatBlockEXT = VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT,
|
||||
eAstc8x5SfloatBlock = VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK,
|
||||
eAstc8x5SfloatBlockEXT = VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT,
|
||||
eAstc8x6SfloatBlock = VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK,
|
||||
eAstc8x6SfloatBlockEXT = VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT,
|
||||
eAstc8x8SfloatBlock = VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK,
|
||||
eAstc8x8SfloatBlockEXT = VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT,
|
||||
eAstc10x5SfloatBlock = VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK,
|
||||
eAstc10x5SfloatBlockEXT = VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT,
|
||||
eAstc10x6SfloatBlock = VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK,
|
||||
eAstc10x6SfloatBlockEXT = VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT,
|
||||
eAstc10x8SfloatBlock = VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK,
|
||||
eAstc10x8SfloatBlockEXT = VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT,
|
||||
eAstc10x10SfloatBlock = VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK,
|
||||
eAstc10x10SfloatBlockEXT = VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT,
|
||||
eAstc12x10SfloatBlock = VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK,
|
||||
eAstc12x10SfloatBlockEXT = VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT,
|
||||
eAstc12x12SfloatBlock = VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK,
|
||||
eAstc12x12SfloatBlockEXT = VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT
|
||||
};
|
||||
|
||||
enum class FormatFeatureFlagBits : VkFormatFeatureFlags
|
||||
@ -1254,8 +1263,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eAllGraphics = VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT,
|
||||
eAllCommands = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
|
||||
eNone = VK_PIPELINE_STAGE_NONE,
|
||||
eFragmentShadingRateAttachmentKHR = VK_PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR,
|
||||
eNoneKHR = VK_PIPELINE_STAGE_NONE_KHR
|
||||
eNoneKHR = VK_PIPELINE_STAGE_NONE_KHR,
|
||||
eFragmentShadingRateAttachmentKHR = VK_PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
|
||||
};
|
||||
|
||||
using PipelineStageFlags = Flags<PipelineStageFlagBits>;
|
||||
@ -1509,12 +1518,12 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eStencilAttachmentOptimal = VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL,
|
||||
eStencilReadOnlyOptimal = VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL,
|
||||
eReadOnlyOptimal = VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL,
|
||||
eReadOnlyOptimalKHR = VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL_KHR,
|
||||
eAttachmentOptimal = VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL,
|
||||
eAttachmentOptimalKHR = VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL_KHR,
|
||||
ePresentSrcKHR = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR,
|
||||
eSharedPresentKHR = VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR,
|
||||
eFragmentShadingRateAttachmentOptimalKHR = VK_IMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR,
|
||||
eReadOnlyOptimalKHR = VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL_KHR,
|
||||
eAttachmentOptimalKHR = VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL_KHR
|
||||
eFragmentShadingRateAttachmentOptimalKHR = VK_IMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR
|
||||
};
|
||||
|
||||
enum class ComponentSwizzle
|
||||
@ -1707,44 +1716,45 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eStencilWriteMask = VK_DYNAMIC_STATE_STENCIL_WRITE_MASK,
|
||||
eStencilReference = VK_DYNAMIC_STATE_STENCIL_REFERENCE,
|
||||
eCullMode = VK_DYNAMIC_STATE_CULL_MODE,
|
||||
eCullModeEXT = VK_DYNAMIC_STATE_CULL_MODE_EXT,
|
||||
eFrontFace = VK_DYNAMIC_STATE_FRONT_FACE,
|
||||
eFrontFaceEXT = VK_DYNAMIC_STATE_FRONT_FACE_EXT,
|
||||
ePrimitiveTopology = VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY,
|
||||
ePrimitiveTopologyEXT = VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT,
|
||||
eViewportWithCount = VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT,
|
||||
eViewportWithCountEXT = VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT,
|
||||
eScissorWithCount = VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT,
|
||||
eScissorWithCountEXT = VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT,
|
||||
eVertexInputBindingStride = VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE,
|
||||
eVertexInputBindingStrideEXT = VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT,
|
||||
eDepthTestEnable = VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE,
|
||||
eDepthTestEnableEXT = VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT,
|
||||
eDepthWriteEnable = VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE,
|
||||
eDepthWriteEnableEXT = VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT,
|
||||
eDepthCompareOp = VK_DYNAMIC_STATE_DEPTH_COMPARE_OP,
|
||||
eDepthCompareOpEXT = VK_DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT,
|
||||
eDepthBoundsTestEnable = VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE,
|
||||
eDepthBoundsTestEnableEXT = VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT,
|
||||
eStencilTestEnable = VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE,
|
||||
eStencilTestEnableEXT = VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT,
|
||||
eStencilOp = VK_DYNAMIC_STATE_STENCIL_OP,
|
||||
eStencilOpEXT = VK_DYNAMIC_STATE_STENCIL_OP_EXT,
|
||||
eRasterizerDiscardEnable = VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE,
|
||||
eRasterizerDiscardEnableEXT = VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE_EXT,
|
||||
eDepthBiasEnable = VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE,
|
||||
eDepthBiasEnableEXT = VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE_EXT,
|
||||
ePrimitiveRestartEnable = VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE,
|
||||
ePrimitiveRestartEnableEXT = VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE_EXT,
|
||||
eDiscardRectangleEXT = VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT,
|
||||
eDiscardRectangleEnableEXT = VK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXT,
|
||||
eDiscardRectangleModeEXT = VK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXT,
|
||||
eSampleLocationsEXT = VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT,
|
||||
eFragmentShadingRateKHR = VK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR,
|
||||
eLineStippleKHR = VK_DYNAMIC_STATE_LINE_STIPPLE_KHR,
|
||||
eLineStippleEXT = VK_DYNAMIC_STATE_LINE_STIPPLE_EXT,
|
||||
eCullModeEXT = VK_DYNAMIC_STATE_CULL_MODE_EXT,
|
||||
eFrontFaceEXT = VK_DYNAMIC_STATE_FRONT_FACE_EXT,
|
||||
ePrimitiveTopologyEXT = VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT,
|
||||
eViewportWithCountEXT = VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT,
|
||||
eScissorWithCountEXT = VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT,
|
||||
eVertexInputBindingStrideEXT = VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT,
|
||||
eDepthTestEnableEXT = VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT,
|
||||
eDepthWriteEnableEXT = VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT,
|
||||
eDepthCompareOpEXT = VK_DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT,
|
||||
eDepthBoundsTestEnableEXT = VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT,
|
||||
eStencilTestEnableEXT = VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT,
|
||||
eStencilOpEXT = VK_DYNAMIC_STATE_STENCIL_OP_EXT,
|
||||
eVertexInputEXT = VK_DYNAMIC_STATE_VERTEX_INPUT_EXT,
|
||||
ePatchControlPointsEXT = VK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXT,
|
||||
eRasterizerDiscardEnableEXT = VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE_EXT,
|
||||
eDepthBiasEnableEXT = VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE_EXT,
|
||||
eLogicOpEXT = VK_DYNAMIC_STATE_LOGIC_OP_EXT,
|
||||
ePrimitiveRestartEnableEXT = VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE_EXT,
|
||||
eColorWriteEnableEXT = VK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXT
|
||||
};
|
||||
|
||||
@ -1797,8 +1807,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
enum class PipelineShaderStageCreateFlagBits : VkPipelineShaderStageCreateFlags
|
||||
{
|
||||
eAllowVaryingSubgroupSize = VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT,
|
||||
eRequireFullSubgroups = VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT,
|
||||
eAllowVaryingSubgroupSizeEXT = VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT,
|
||||
eRequireFullSubgroups = VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT,
|
||||
eRequireFullSubgroupsEXT = VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT_EXT
|
||||
};
|
||||
|
||||
@ -2131,9 +2141,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eMemoryRead = VK_ACCESS_MEMORY_READ_BIT,
|
||||
eMemoryWrite = VK_ACCESS_MEMORY_WRITE_BIT,
|
||||
eNone = VK_ACCESS_NONE,
|
||||
eNoneKHR = VK_ACCESS_NONE_KHR,
|
||||
eColorAttachmentReadNoncoherentEXT = VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT,
|
||||
eFragmentShadingRateAttachmentReadKHR = VK_ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR,
|
||||
eNoneKHR = VK_ACCESS_NONE_KHR
|
||||
eFragmentShadingRateAttachmentReadKHR = VK_ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR
|
||||
};
|
||||
|
||||
using AccessFlags = Flags<AccessFlagBits>;
|
||||
@ -2327,6 +2337,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
eUint16 = VK_INDEX_TYPE_UINT16,
|
||||
eUint32 = VK_INDEX_TYPE_UINT32,
|
||||
eUint8KHR = VK_INDEX_TYPE_UINT8_KHR,
|
||||
eUint8EXT = VK_INDEX_TYPE_UINT8_EXT
|
||||
};
|
||||
|
||||
@ -2850,14 +2861,14 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eFragmentShadingRateAttachmentKHR = VK_PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR,
|
||||
eShadingRateImageNV = VK_PIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NV,
|
||||
eAccelerationStructureBuildKHR = VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR,
|
||||
eAccelerationStructureBuildNV = VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_NV,
|
||||
eRayTracingShaderKHR = VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR,
|
||||
eRayTracingShaderNV = VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_NV,
|
||||
eAccelerationStructureBuildNV = VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_NV,
|
||||
eFragmentDensityProcessEXT = VK_PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT,
|
||||
eTaskShaderNV = VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_NV,
|
||||
eMeshShaderNV = VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_NV,
|
||||
eTaskShaderEXT = VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT,
|
||||
eMeshShaderEXT = VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT
|
||||
eTaskShaderNV = VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_NV,
|
||||
eMeshShaderEXT = VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT,
|
||||
eMeshShaderNV = VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_NV
|
||||
};
|
||||
using PipelineStageFlagBits2KHR = PipelineStageFlagBits2;
|
||||
|
||||
@ -2914,8 +2925,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eFragmentShadingRateAttachmentReadKHR = VK_ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR,
|
||||
eShadingRateImageReadNV = VK_ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NV,
|
||||
eAccelerationStructureReadKHR = VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR,
|
||||
eAccelerationStructureWriteKHR = VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR,
|
||||
eAccelerationStructureReadNV = VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_NV,
|
||||
eAccelerationStructureWriteKHR = VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR,
|
||||
eAccelerationStructureWriteNV = VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_NV,
|
||||
eFragmentDensityMapReadEXT = VK_ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT,
|
||||
eColorAttachmentReadNoncoherentEXT = VK_ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT
|
||||
@ -3342,10 +3353,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
enum class PerformanceCounterScopeKHR
|
||||
{
|
||||
eCommandBuffer = VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR,
|
||||
eRenderPass = VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR,
|
||||
eCommand = VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR,
|
||||
eVkQueryScopeCommandBuffer = VK_QUERY_SCOPE_COMMAND_BUFFER_KHR,
|
||||
eRenderPass = VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR,
|
||||
eVkQueryScopeRenderPass = VK_QUERY_SCOPE_RENDER_PASS_KHR,
|
||||
eCommand = VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR,
|
||||
eVkQueryScopeCommand = VK_QUERY_SCOPE_COMMAND_KHR
|
||||
};
|
||||
|
||||
@ -3574,6 +3585,18 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
using Type = uint32_t;
|
||||
};
|
||||
|
||||
template <>
|
||||
struct IndexTypeValue<uint8_t>
|
||||
{
|
||||
static VULKAN_HPP_CONST_OR_CONSTEXPR IndexType value = IndexType::eUint8KHR;
|
||||
};
|
||||
|
||||
template <>
|
||||
struct CppType<IndexType, IndexType::eUint8KHR>
|
||||
{
|
||||
using Type = uint8_t;
|
||||
};
|
||||
|
||||
//===========================================================
|
||||
//=== Mapping from ObjectType to DebugReportObjectTypeEXT ===
|
||||
//===========================================================
|
||||
|
@ -1676,6 +1676,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case Result::eErrorOutOfDateKHR: return "ErrorOutOfDateKHR";
|
||||
case Result::eErrorIncompatibleDisplayKHR: return "ErrorIncompatibleDisplayKHR";
|
||||
case Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT: return "ErrorInvalidDrmFormatModifierPlaneLayoutEXT";
|
||||
case Result::eErrorNotPermittedKHR: return "ErrorNotPermittedKHR";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
@ -1973,11 +1974,15 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::eDrmFormatModifierPropertiesList2EXT: return "DrmFormatModifierPropertiesList2EXT";
|
||||
case StructureType::ePhysicalDeviceImageViewImageFormatInfoEXT: return "PhysicalDeviceImageViewImageFormatInfoEXT";
|
||||
case StructureType::eFilterCubicImageViewImageFormatPropertiesEXT: return "FilterCubicImageViewImageFormatPropertiesEXT";
|
||||
case StructureType::eDeviceQueueGlobalPriorityCreateInfoKHR: return "DeviceQueueGlobalPriorityCreateInfoKHR";
|
||||
case StructureType::eImportMemoryHostPointerInfoEXT: return "ImportMemoryHostPointerInfoEXT";
|
||||
case StructureType::eMemoryHostPointerPropertiesEXT: return "MemoryHostPointerPropertiesEXT";
|
||||
case StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT: return "PhysicalDeviceExternalMemoryHostPropertiesEXT";
|
||||
case StructureType::ePhysicalDeviceShaderClockFeaturesKHR: return "PhysicalDeviceShaderClockFeaturesKHR";
|
||||
case StructureType::eCalibratedTimestampInfoKHR: return "CalibratedTimestampInfoKHR";
|
||||
case StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT: return "PhysicalDeviceVertexAttributeDivisorPropertiesEXT";
|
||||
case StructureType::ePipelineVertexInputDivisorStateCreateInfoKHR: return "PipelineVertexInputDivisorStateCreateInfoKHR";
|
||||
case StructureType::ePhysicalDeviceVertexAttributeDivisorFeaturesKHR: return "PhysicalDeviceVertexAttributeDivisorFeaturesKHR";
|
||||
case StructureType::ePhysicalDevicePciBusInfoPropertiesEXT: return "PhysicalDevicePciBusInfoPropertiesEXT";
|
||||
case StructureType::eFragmentShadingRateAttachmentInfoKHR: return "FragmentShadingRateAttachmentInfoKHR";
|
||||
case StructureType::ePipelineFragmentShadingRateStateCreateInfoKHR: return "PipelineFragmentShadingRateStateCreateInfoKHR";
|
||||
@ -1990,7 +1995,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::ePhysicalDeviceFragmentShaderInterlockFeaturesEXT: return "PhysicalDeviceFragmentShaderInterlockFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceYcbcrImageArraysFeaturesEXT: return "PhysicalDeviceYcbcrImageArraysFeaturesEXT";
|
||||
case StructureType::eHeadlessSurfaceCreateInfoEXT: return "HeadlessSurfaceCreateInfoEXT";
|
||||
case StructureType::ePhysicalDeviceLineRasterizationFeaturesKHR: return "PhysicalDeviceLineRasterizationFeaturesKHR";
|
||||
case StructureType::ePipelineRasterizationLineStateCreateInfoKHR: return "PipelineRasterizationLineStateCreateInfoKHR";
|
||||
case StructureType::ePhysicalDeviceLineRasterizationPropertiesKHR: return "PhysicalDeviceLineRasterizationPropertiesKHR";
|
||||
case StructureType::ePhysicalDeviceShaderAtomicFloatFeaturesEXT: return "PhysicalDeviceShaderAtomicFloatFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceIndexTypeUint8FeaturesKHR: return "PhysicalDeviceIndexTypeUint8FeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceExtendedDynamicStateFeaturesEXT: return "PhysicalDeviceExtendedDynamicStateFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceTexelBufferAlignmentFeaturesEXT: return "PhysicalDeviceTexelBufferAlignmentFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceRobustness2FeaturesEXT: return "PhysicalDeviceRobustness2FeaturesEXT";
|
||||
@ -2960,6 +2969,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case DynamicState::eDiscardRectangleModeEXT: return "DiscardRectangleModeEXT";
|
||||
case DynamicState::eSampleLocationsEXT: return "SampleLocationsEXT";
|
||||
case DynamicState::eFragmentShadingRateKHR: return "FragmentShadingRateKHR";
|
||||
case DynamicState::eLineStippleKHR: return "LineStippleKHR";
|
||||
case DynamicState::eVertexInputEXT: return "VertexInputEXT";
|
||||
case DynamicState::ePatchControlPointsEXT: return "PatchControlPointsEXT";
|
||||
case DynamicState::eLogicOpEXT: return "LogicOpEXT";
|
||||
@ -3406,6 +3416,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
case IndexType::eUint16: return "Uint16";
|
||||
case IndexType::eUint32: return "Uint32";
|
||||
case IndexType::eUint8KHR: return "Uint8KHR";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user