glsl_to_nir: Initialize debug variable
authorKristian H. Kristensen <hoegsberg@chromium.org>
Wed, 10 Apr 2019 20:10:48 +0000 (13:10 -0700)
committerKristian H. Kristensen <hoegsberg@gmail.com>
Fri, 19 Apr 2019 16:17:37 +0000 (16:17 +0000)
commit15605cc9d481dccc8f4dff0e6471600809d56980
tree9b2f14d6af23ae765e0e9c63e32a7fcb0abbaa02
parent3ecfe206481a8a7a89d12804a2cafd2fc0b24817
glsl_to_nir: Initialize debug variable

If we want to assert on found == true when the loop exits early, we
need to initialize it to false.

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/glsl/glsl_to_nir.cpp