summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-08-16 13:11:27 +0200
committerAxel Davy <[email protected]>2015-08-21 22:21:48 +0200
commit3cc205bbeb19d417b17be0f6200cb5cda9adca8a (patch)
tree623a4b0f13536c7f28a556bf710f7786f6c7595a /src/gallium/state_trackers/nine
parentd48cab9fa6b75db054e3a53819b465611923e9bc (diff)
st/nine: Silent warning in sm1_declusage_to_tgsi
release build was complaining Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine')
-rw-r--r--src/gallium/state_trackers/nine/nine_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c
index 9680c5ac6d6..28f27870dc8 100644
--- a/src/gallium/state_trackers/nine/nine_shader.c
+++ b/src/gallium/state_trackers/nine/nine_shader.c
@@ -1890,7 +1890,7 @@ sm1_declusage_to_tgsi(struct tgsi_declaration_semantic *sem,
sem->Index = 0;
break;
default:
- assert(!"Invalid DECLUSAGE.");
+ unreachable(!"Invalid DECLUSAGE.");
break;
}
}