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:24:05 +0000 (09:24 +1100)
commit124c9c2b977013f540f417d5dd102775ad02c77d
tree050f87134e9f6492fce26badec9544de0f7d37e1
parentcf757f48eae44865bf35c0e95ce99576b160074a
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