glsl: remove unreachable assert()
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 28 Mar 2018 17:21:59 +0000 (18:21 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 10 Apr 2018 15:04:50 +0000 (16:04 +0100)
commit8eceac9de7d3cd4fddabbe61d512acfed9812169
treea34a810ec905b8799c96647af8d465a3bcf1e823
parent0d0ef8ae335bfe746bd5802eb9521986349db4b4
glsl: remove unreachable assert()

Earlier commit enforced that we'll bail out if the number of terminators
is different than 2. With that in mind, the assert() will never trigger.

Fixes: 56b867395de ("glsl: fix infinite loop caused by bug in loop
unrolling pass")
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/compiler/glsl/loop_unroll.cpp