st/nir: fix illegal designated initializer in st_glsl_to_nir.cpp

Submitted by Neha Bhende on Sept. 11, 2019, 7:26 a.m.

Details

Message ID DM5PR05MB28103268CB4B6E5956F4071FC1B10@DM5PR05MB2810.namprd05.prod.outlook.com
State New
Headers show
Series "st/nir: fix illegal designated initializer in st_glsl_to_nir.cpp" ( rev: 2 ) in Mesa

Not browsing as part of any series.

Commit Message

Neha Bhende Sept. 11, 2019, 7:26 a.m.
Looks good to me.
Reviewed-by: Neha Bhende <bhenden@vmware.com>

Regards,
Neha

Patch hide | download patch | download mbox

diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp
index 280a778..d6a0264 100644
--- a/src/mesa/state_tracker/st_glsl_to_nir.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp
@@ -688,7 +688,7 @@  st_link_nir(struct gl_context *ctx,
     */
    if (shader_program->data->spirv) {
       static const gl_nir_linker_options opts = {
-         .fill_parameters = true,
+         true /*fill_parameters */
       };
       if (!gl_nir_link(ctx, shader_program, &opts))
          return GL_FALSE;