[Mesa-dev] [PATCH 3/3] gallium: Fix incorrect unreachable call

Michael Schellenberger Costa mschellenbergercosta at googlemail.com
Tue Aug 30 07:37:06 UTC 2016


Signed-off-by: Michael Schellenberger Costa <mschellenbergercosta at gmail.com>
---
 src/gallium/state_trackers/nine/nine_shader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c
index bd373d7..4c58a6d 100644
--- a/src/gallium/state_trackers/nine/nine_shader.c
+++ b/src/gallium/state_trackers/nine/nine_shader.c
@@ -1898,7 +1898,7 @@ sm1_declusage_to_tgsi(struct tgsi_declaration_semantic *sem,
         sem->Index = 0;
         break;
     default:
-        unreachable(!"Invalid DECLUSAGE.");
+        unreachable("Invalid DECLUSAGE.");
         break;
     }
 }
-- 
2.7.4



More information about the mesa-dev mailing list