mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Fix issue_35, update to Vulkan 1.0.29 (#37)
This commit is contained in:
parent
ac9510cb7d
commit
84a35fc36f
@ -1 +1 @@
|
|||||||
Subproject commit f4c4113d070c0c9b55b4482055be054dd6466c96
|
Subproject commit 42fcc80976696970190b2361a726c32b33a37e11
|
@ -827,7 +827,9 @@ std::map<size_t, size_t> getVectorParameters(CommandData const& commandData)
|
|||||||
|| (commandData.arguments[i].len == "latexmath:[$dataSize \\over 4$]")
|
|| (commandData.arguments[i].len == "latexmath:[$dataSize \\over 4$]")
|
||||||
|| (commandData.arguments[i].len == "null-terminated")
|
|| (commandData.arguments[i].len == "null-terminated")
|
||||||
|| (commandData.arguments[i].len == "pAllocateInfo->descriptorSetCount")
|
|| (commandData.arguments[i].len == "pAllocateInfo->descriptorSetCount")
|
||||||
|| (commandData.arguments[i].len == "pAllocateInfo->commandBufferCount"));
|
|| (commandData.arguments[i].len == "pAllocateInfo->commandBufferCount")
|
||||||
|
|| (commandData.arguments[i].len == "pAllocateInfo::descriptorSetCount")
|
||||||
|
|| (commandData.arguments[i].len == "pAllocateInfo::commandBufferCount"));
|
||||||
assert((lenParameters[i] == ~0) || (lenParameters[i] < i));
|
assert((lenParameters[i] == ~0) || (lenParameters[i] < i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1981,6 +1983,10 @@ void writeFunctionBody(std::ofstream & ofs, std::string const& indentation, std:
|
|||||||
{
|
{
|
||||||
size = reduceName(commandData.arguments[returnIndex].len);
|
size = reduceName(commandData.arguments[returnIndex].len);
|
||||||
size_t pos = size.find("->");
|
size_t pos = size.find("->");
|
||||||
|
if (pos == std::string::npos)
|
||||||
|
{
|
||||||
|
pos = size.find("::");
|
||||||
|
}
|
||||||
assert(pos != std::string::npos);
|
assert(pos != std::string::npos);
|
||||||
size.replace(pos, 2, ".");
|
size.replace(pos, 2, ".");
|
||||||
}
|
}
|
||||||
|
1098
vulkan/vulkan.hpp
1098
vulkan/vulkan.hpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user