mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Update VulkanHppGenerator.cpp
This commit is contained in:
parent
f29e2ae206
commit
4ecb073416
@ -421,7 +421,7 @@ ${texelsPerBlockCases}
|
||||
switch( format )
|
||||
{
|
||||
${blockExtentCases}
|
||||
default: return {1, 1, 1 };
|
||||
default: return {{1, 1, 1 }};
|
||||
}
|
||||
}
|
||||
|
||||
@ -557,7 +557,7 @@ ${planeWidthDivisorCases}
|
||||
std::vector<std::string> blockExtent = tokenize( traitIt->second.blockExtent, "," );
|
||||
assert( blockExtent.size() == 3 );
|
||||
blockExtentCases +=
|
||||
caseString + " return { " + blockExtent[0] + ", " + blockExtent[1] + ", " + blockExtent[2] + " };\n";
|
||||
caseString + " return {{ " + blockExtent[0] + ", " + blockExtent[1] + ", " + blockExtent[2] + " }};\n";
|
||||
}
|
||||
if ( !traitIt->second.compressed.empty() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user