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

Author: Jason Ekstrand <[email protected]>
Date:   Wed Apr  1 16:18:31 2015 -0700

i965/generator: Get rid of the ! in the unreachable statement

Reviewed-by: Mark Janes <[email protected]>

---

 src/mesa/drivers/dri/i965/brw_fs_generator.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp 
b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
index bd12147..40e51aa 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
@@ -1602,7 +1602,7 @@ fs_generator::generate_code(const cfg_t *cfg, int 
dispatch_width)
          brw_set_default_compression_control(p, BRW_COMPRESSION_COMPRESSED);
          break;
       default:
-         unreachable(!"Invalid instruction width");
+         unreachable("Invalid instruction width");
       }
 
       switch (inst->opcode) {

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to