Mesa (master): glsl: fix unreachable() typo

Anuj Phogat aphogat at kemper.freedesktop.org
Tue Aug 30 21:25:40 UTC 2016


Module: Mesa
Branch: master
Commit: e2627e34bace0e8aa94caf49b1c8be09adc94711
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2627e34bace0e8aa94caf49b1c8be09adc94711

Author: Eric Engestrom <eric.engestrom at imgtec.com>
Date:   Tue Aug 30 11:36:01 2016 +0100

glsl: fix unreachable() typo

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Anuj Phogat <anuj.phogat 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, ")");
 }




More information about the mesa-commit mailing list