glsl: replace unreachable code path with assert
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 8 Jan 2016 04:25:37 +0000 (15:25 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sun, 10 Jan 2016 22:18:51 +0000 (09:18 +1100)
commit98270fd20d4d58db8ae5af3b6f10ed6a81c058a6
tree050f87134e9f6492fce26badec9544de0f7d37e1
parente4c5ace6a92f84b9b04cf7a85617da4aee6eb3e2
glsl: replace unreachable code path with assert

The lower_named_interface_blocks() pass is called before we try
assign locations to varyings so this shouldn't be reachable.

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/glsl/link_varyings.cpp