nir: Avoid structure initalization expressions.
authorJose Fonseca <jfonseca@vmware.com>
Wed, 13 Apr 2016 17:19:50 +0000 (18:19 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 Apr 2016 15:38:37 +0000 (16:38 +0100)
commitba0c0e3940c904cd88d51a0dafc41cd91723877c
tree963e5953cf3475e60efe04e83d43948fadd43a58
parent8f96524f1390de0a54df029f29018379a8d9bd97
nir: Avoid structure initalization expressions.

Not supported by MSVC, and completely unnecessary -- inline functions
work just as well.

NIR_SRC_INIT/NIR_DEST_INIT could and probably should be replaced by the
inline functions.

Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/compiler/nir/nir.h