nv50,nvc0: make use of unreachable() when invalid texture target happens
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 14 Dec 2015 16:51:57 +0000 (17:51 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 14 Dec 2015 18:08:25 +0000 (19:08 +0100)
commit3f7462b792a5bd517a1d2958d1aeb630ed253246
tree5beddb57af8557fe87fbf907736b6c3d768548e7
parent8b52fa71ac3d706f27ccbddcb050aae4965839e9
nv50,nvc0: make use of unreachable() when invalid texture target happens

Spotted by Coverity.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_tex.c
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c