Updated spirv-tools.

This commit is contained in:
Бранимир Караџић
2020-12-13 13:12:15 -08:00
parent 0001c8067d
commit 6fe24f441e
16 changed files with 123 additions and 33 deletions

View File

@@ -230,7 +230,7 @@ std::string BasicBlock::PrettyPrint(uint32_t options) const {
std::ostringstream str;
ForEachInst([&str, options](const Instruction* inst) {
str << inst->PrettyPrint(options);
if (!IsTerminatorInst(inst->opcode())) {
if (!spvOpcodeIsBlockTerminator(inst->opcode())) {
str << std::endl;
}
});