gallivm: Zero initialize param structs
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Fri, 5 May 2023 19:34:16 +0000 (21:34 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 8 Jun 2023 06:07:37 +0000 (06:07 +0000)
commit93f047b6ffa5e9d2db0491b1885c60a9df88ac19
tree9f0337ac5093f96c3c9cd42013146254e53f0d2e
parenta2159dfe8aa6cc869cb4e942f84d25d332dd5259
gallivm: Zero initialize param structs

Zero all param structs using {0} because it's shorter than a memset and
there were some instances where the structs weren't zero initialized.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23515>
src/gallium/auxiliary/gallivm/lp_bld_nir.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c