nir: use braces around subobject in initializer
authorTapani Pälli <tapani.palli@intel.com>
Tue, 23 Apr 2019 11:35:17 +0000 (14:35 +0300)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 26 Apr 2019 19:01:22 +0000 (12:01 -0700)
Used same syntax as elsewhere with Mesa sources, verified result
against MSVC with godbolt.org.

fixes following warning with clang:
   warning: suggest braces around initialization of subobject

v2: empty braces -> braces around subobject (Caio, Kristian)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>

No differences found