Fixed typo that leaked to the binary

The typo was found by lintian when I was packaging glslang
This commit is contained in:
Daan Wendelen 2017-12-03 21:27:21 +01:00 committed by Lei Zhang
parent 9996173f36
commit b98254b282
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ struct UserEntryLess {
if (!lhs.first && rhs.first) return true;
if (lhs.first && !rhs.first) return false;
// If neither defintion is null, then compare unique ids.
// If neither definition is null, then compare unique ids.
if (lhs.first && rhs.first) {
if (lhs.first->unique_id() < rhs.first->unique_id()) return true;
if (rhs.first->unique_id() < lhs.first->unique_id()) return false;

View File

@ -114,7 +114,7 @@ bool IrLoader::AddInstruction(const spv_parsed_instruction_t* inst) {
module_->AddGlobalValue(std::move(spv_inst));
} else {
SPIRV_UNIMPLEMENTED(consumer_,
"unhandled inst type outside function defintion");
"unhandled inst type outside function definition");
}
} else {
if (block_ == nullptr) { // Inside function but outside blocks