projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d48cab9
)
st/nine: Silent warning in sm1_declusage_to_tgsi
author
Axel Davy
<axel.davy@ens.fr>
Sun, 16 Aug 2015 11:11:27 +0000
(13:11 +0200)
committer
Axel Davy
<axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:48 +0000
(22:21 +0200)
release build was complaining
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/nine_shader.c
b/src/gallium/state_trackers/nine/nine_shader.c
index 9680c5ac6d67a0753a3bc3374db44cc3e10e9cac..28f27870dc80e9db1d45cd89981cab221ecfdd65 100644
(file)
--- 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;
}
}