Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/opt/function.cpp')
-rw-r--r--source/opt/function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/opt/function.cpp b/source/opt/function.cpp
index bb51df3f9..6c7c949fd 100644
--- a/source/opt/function.cpp
+++ b/source/opt/function.cpp
@@ -264,7 +264,7 @@ std::string Function::PrettyPrint(uint32_t options) const {
std::ostringstream str;
ForEachInst([&str, options](const Instruction* inst) {
str << inst->PrettyPrint(options);
- if (inst->opcode() != SpvOpFunctionEnd) {
+ if (inst->opcode() != spv::Op::OpFunctionEnd) {
str << std::endl;
}
});