diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-06-18 14:17:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-18 11:17:57 -0700 |
| commit | dfbe3cfcdb308cdb0f89cb2844fb3aba96cfcaec (patch) | |
| tree | 749a65af64f615de3d1f86a93b3e9c08a15c39b7 /source/slang/slang-emit-spirv.cpp | |
| parent | 5a86cd4880f8f086631352cb5d67d60c58c087f4 (diff) | |
Fix and improvements around repro (#1397)
* * Fix output in slang repro command line
* Profile uses lowerCamel method names (had mix of upper and lower)
* Rename slang-serialize-state/SerializeStateUtil to slang-repro and ReproUtil.
Diffstat (limited to 'source/slang/slang-emit-spirv.cpp')
| -rw-r--r-- | source/slang/slang-emit-spirv.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp index c6f2f7468..0ca523ecf 100644 --- a/source/slang/slang-emit-spirv.cpp +++ b/source/slang/slang-emit-spirv.cpp @@ -208,7 +208,7 @@ struct SpvInst : SpvInstParent // // > Word Count: The complete number of words taken by an instruction, // > including the word holding the word count and opcode, and any optional - // > operands. An instruction’s word count is the total space taken by the instruction. + // > operands. An instruction’s word count is the total space taken by the instruction. // SpvWord wordCount = 1 + SpvWord(operandWords.getCount()); @@ -531,7 +531,7 @@ struct SPIRVEmitContext cursor += 4; } // - // > The final word contains the string’s nul-termination character (0), and + // > The final word contains the string’s nul-termination character (0), and // > all contents past the end of the string in the final word are padded with 0. // // For the last word, the low-order bytes will @@ -1052,7 +1052,7 @@ struct SPIRVEmitContext // to the new globals, which would be used in the SPIR-V emit case. auto entryPointDecor = cast<IREntryPointDecoration>(decoration); - auto spvStage = mapStageToExecutionModel(entryPointDecor->getProfile().GetStage()); + auto spvStage = mapStageToExecutionModel(entryPointDecor->getProfile().getStage()); auto name = entryPointDecor->getName()->getStringSlice(); emitInst(section, decoration, SpvOpEntryPoint, spvStage, dstID, name); } |
