Skip to content

Commit

Permalink
Fix errors in comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-perron committed Jan 8, 2024
1 parent d98307b commit 2f21fb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/clang/lib/SPIRV/SpirvEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13445,8 +13445,8 @@ bool SpirvEmitter::processHSEntryPointOutputAndPCF(
/*forPCF*/ true))
return false;

// Traverall all of the parameters for the PCF and copy out all of the output
// variables.
// Traverse all of the parameters for the patch constant function and copy out
// all of the output variables.
for (uint32_t idx = 0; idx < patchConstFunc->parameters().size(); idx++) {
const auto *param = patchConstFunc->parameters()[idx];
if (param->hasAttr<HLSLOutAttr>()) {
Expand Down
2 changes: 1 addition & 1 deletion tools/clang/lib/SPIRV/SpirvEmitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ class SpirvEmitter : public ASTConsumer {
void addDerivativeGroupExecutionMode();

/// Creates an input variable for `param` that will be used by the patch
/// control function. The parameter is also added to the patch control
/// constant function. The parameter is also added to the patch constant
/// function. The wrapper function will copy the input variable to the
/// parameter.
SpirvVariable *
Expand Down

0 comments on commit 2f21fb6

Please sign in to comment.