glsl: fix unreachable() typo
authorEric Engestrom <eric.engestrom@imgtec.com>
Tue, 30 Aug 2016 10:36:01 +0000 (11:36 +0100)
committerAnuj Phogat <anuj.phogat@gmail.com>
Tue, 30 Aug 2016 20:47:42 +0000 (13:47 -0700)
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/compiler/glsl/ir_print_visitor.cpp

index 0dd1c3527e7c78cc91fa15a46b4b8ecadf43b7e1..4cb8069a56fa2d1c5cf42c17c7271eb7bf1c11a9 100644 (file)
@@ -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, ")");
 }