Skip to content

Commit 5c41364

Browse files
authored
Remove redundant clearInputLists in MslProgram::setStages (#2307)
`clearInputLists();` called explicitly in `MslProgram::setStages` is already part of `clearStages();` called at the start of the method.
1 parent cf6b196 commit 5c41364

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

source/MaterialXRenderMsl/MslPipelineStateObject.mm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@
6666
const ShaderStage& stage = shader->getStage(i);
6767
addStage(stage.getName(), stage.getSourceCode());
6868
}
69-
70-
// A stage change invalidates any cached parsed inputs
71-
clearInputLists();
7269
}
7370

7471
void MslProgram::addStage(const string& stage, const string& sourceCode)

0 commit comments

Comments
 (0)