[Mesa-dev] [PATCH] i965/generator: Get rid of the ! in the unreachable statement

Jason Ekstrand jason at jlekstrand.net
Wed Apr 1 16:18:47 PDT 2015


---
 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 f88c041..4f39f73 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) {
-- 
2.3.4



More information about the mesa-dev mailing list