st/nir: fix illegal designated initializer in st_glsl_to_nir.cpp
authorBrian Paul <brianp@vmware.com>
Wed, 11 Sep 2019 05:51:23 +0000 (23:51 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 11 Sep 2019 15:38:07 +0000 (09:38 -0600)
commitd714415208fb9e2fcdba3432318035f9fa8f71d1
treef8d277dfb391e014ccd97cabe10beebb4b509669
parent52cf2d05a743a4cb2a5a8e1a35f2f0309999a839
st/nir: fix illegal designated initializer in st_glsl_to_nir.cpp

IIRC, designated initializers are not legal C++.
Fixes the MSVC build.

Fixes: 83fd1e58 ("glsl/nir: Add and use a gl_nir_link() function")
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp