[Mesa-dev] [PATCH mesa 1/3] glsl: fix unreachable() typo
Eric Engestrom
eric.engestrom at imgtec.com
Tue Aug 30 10:36:01 UTC 2016
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.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, ")");
}
--
Cheers,
Eric
More information about the mesa-dev
mailing list