nir: Avoid C99 field initializers.
authorJose Fonseca <jfonseca@vmware.com>
Thu, 28 Apr 2016 11:17:42 +0000 (12:17 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Thu, 28 Apr 2016 15:48:12 +0000 (16:48 +0100)
commitf7854d8227f0215edae74a7269f6cb1b52049f94
treed25185986b58a92e6f2b7dbb443dd48566a969d2
parenta609da60c034ab059ead213e6c25fe4d37bf7d43
nir: Avoid C99 field initializers.

As they are not standard C++ and are not supported by MSVC C++ compiler.

Just have nir_imm_double match nir_imm_float above.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
src/compiler/nir/nir_builder.h