[Mesa-dev] [PATCH mesa 2/3] st/nine: fix unreachable() typo

Eric Engestrom eric.engestrom at imgtec.com
Tue Aug 30 10:36:02 UTC 2016


Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.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;
     }
 }
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list