mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-26 09:41:03 +00:00
Fixed typo that leaked to the binary
The typo was found by lintian when I was packaging glslang
This commit is contained in:
parent
9996173f36
commit
b98254b282
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user