nir/linker: fix msvc build
authorRoland Scheidegger <sroland@vmware.com>
Wed, 4 Jul 2018 01:44:50 +0000 (03:44 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 5 Jul 2018 07:27:05 +0000 (09:27 +0200)
commit620626a371a9d2fa69d7b73cfaf3e816dffd6f04
tree5d2c26e334b3919eae8352be7ac216ba4a99e143
parent806a42fc47ba1bbc36ca61bd57908443c382d8a7
nir/linker: fix msvc build

Empty initializer braces aren't valid c (it's a gnu extension, and
it's valid in c++).
Hopefully fixes appveyor / msvc build...

Fixes 6677e131b806b10754adcb7cf3f427a7fcc2aa09
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/gl_nir_link_atomics.c