nir: Avoid empty {} struct initializer.
authorJose Fonseca <jfonseca@vmware.com>
Wed, 13 Apr 2016 17:19:48 +0000 (18:19 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 Apr 2016 15:33:52 +0000 (16:33 +0100)
commitf8e2f1fba5149a494360ad76a1f90e729de28a0b
tree29027f61001b0503aa31dc966694f657f134c127
parentbb949e262cb5c4fffe991debc605447e15322666
nir: Avoid empty {} struct initializer.

Not supported by MSVC and consistent through NIR.

[Emil Velikov: rebase]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/compiler/nir/nir_intrinsics.h