[Mesa-dev] [PATCH 2/3] glsl: Fix incorrect unreachable call
Michael Schellenberger Costa
mschellenbergercosta at googlemail.com
Tue Aug 30 07:37:05 UTC 2016
Signed-off-by: Michael Schellenberger Costa <mschellenbergercosta at gmail.com>
---
src/compiler/glsl/ir_print_visitor.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/glsl/ir_print_visitor.cpp b/src/compiler/glsl/ir_print_visitor.cpp
index 0dd1c35..4cb8069 100644
--- a/src/compiler/glsl/ir_print_visitor.cpp
+++ b/src/compiler/glsl/ir_print_visitor.cpp
@@ -344,7 +344,7 @@ void ir_print_visitor::visit(ir_texture *ir)
ir->lod_info.component->accept(this);
break;
case ir_samples_identical:
- unreachable(!"ir_samples_identical was already handled");
+ unreachable("ir_samples_identical was already handled");
};
fprintf(f, ")");
}
--
2.7.4
More information about the mesa-dev
mailing list