compiler/spirv: Fix uses of gnu struct = {} extension
authorPierre Moreau <pierre.morrow@free.fr>
Wed, 27 Nov 2019 19:50:12 +0000 (20:50 +0100)
committerVinson Lee <vlee@freedesktop.org>
Wed, 11 Dec 2019 06:03:22 +0000 (06:03 +0000)
commit8ccd3f48a00b48e9b6e2e089806d62a021f24ade
tree7f02ecb0525f25b429c106cb9862e78abb03dc49
parent9661fc9cdb42bc8d329feb30f3e80f511e60920e
compiler/spirv: Fix uses of gnu struct = {} extension

Fixes: a24d6fbae60 ("meson: Add -Werror=gnu-empty-initializer to MSVC compat args")
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tested-by: Vinson Lee <vlee@freedesktop.org>
Signed-off-by: Pierre Moreau <dev@pmoreau.org>
src/compiler/spirv/spirv2nir.c