a161cccd9b
When lowering precision on integers from GLSL ES, we can end up with 16 bit integer loop counters. So let's tolerate this as well. This was probably not caught earlier because most NIR drivers disable GLSL-level loop-unrolling, and no non-NIR driver sets LowerPrecisionInt16 to true. This was discovered while trying to wire up int16 support for Zink, which doesn't currently disable GLSL loop-unrolling. Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10125>