mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #1156 from asuessenbach/check
Enable check on planeIndex in format components
This commit is contained in:
commit
bc7a5b56b9
@ -13872,10 +13872,10 @@ void VulkanHppGenerator::readFormatsFormat( tinyxml2::XMLElement const * element
|
||||
{
|
||||
check( !componentIt->planeIndex.empty(), line, "component is expected to have a planeIndex" );
|
||||
}
|
||||
// size_t planeCount = 1 + std::stoi( it->second.components.back().planeIndex );
|
||||
// check( it->second.planes.size() == planeCount,
|
||||
// line,
|
||||
// "number of planes does not fit to largest planeIndex of the components" );
|
||||
size_t planeCount = 1 + std::stoi( it->second.components.back().planeIndex );
|
||||
check( it->second.planes.size() == planeCount,
|
||||
line,
|
||||
"number of planes does not fit to largest planeIndex of the components" );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user