compiler/glsl: Initialize local variable to zero to fix MSVC RTC error
authorBillKristiansen <billkris@microsoft.com>
Thu, 11 Jun 2020 17:38:19 +0000 (10:38 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Aug 2020 09:31:37 +0000 (09:31 +0000)
commitff4c991fd1c1f5f211ba9251f9c4701a1e013bf2
tree76451c9278e75d2e77875f287535c2edf4e16626
parentb38879f8c5f57b7f1802e433e33181bdf5e72aef
compiler/glsl: Initialize local variable to zero to fix MSVC RTC error

Without this, we get a run-time error about using an uninitialized
variable.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6221>
src/compiler/glsl/ast_to_hir.cpp