Fix issue_35, update to Vulkan 1.0.29 (#37)

This commit is contained in:
Markus Tavenrath 2016-10-05 13:50:30 +02:00 committed by Andreas Süßenbach
parent ac9510cb7d
commit 84a35fc36f
3 changed files with 760 additions and 350 deletions

@ -1 +1 @@
Subproject commit f4c4113d070c0c9b55b4482055be054dd6466c96 Subproject commit 42fcc80976696970190b2361a726c32b33a37e11

View File

@ -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, ".");
} }

File diff suppressed because it is too large Load Diff