Fix unused parameter warning

paramNames was going unused in makeFunctionEntry
This commit is contained in:
Juan Ramos 2023-11-22 12:56:53 -07:00 committed by arcady-lunarg
parent fd403737d2
commit b008c0ee45
3 changed files with 8 additions and 13 deletions

View file

@ -5495,7 +5495,7 @@ void TGlslangToSpvTraverser::makeFunctions(const glslang::TIntermSequence& glslF
spv::Function* function = builder.makeFunctionEntry(
TranslatePrecisionDecoration(glslFunction->getType()), convertGlslangToSpvType(glslFunction->getType()),
glslFunction->getName().c_str(), convertGlslangLinkageToSpv(glslFunction->getLinkType()), paramTypes,
paramNames, paramDecorations, &functionBlock);
paramDecorations, &functionBlock);
builder.setupDebugFunctionEntry(function, glslFunction->getName().c_str(), glslFunction->getLoc().line,
paramTypes, paramNames);
if (implicitThis)