aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/program/prog_parameter_layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/program/prog_parameter_layout.c')
-rw-r--r--mesalib/src/mesa/program/prog_parameter_layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesalib/src/mesa/program/prog_parameter_layout.c b/mesalib/src/mesa/program/prog_parameter_layout.c
index d7dc97edb..90a977108 100644
--- a/mesalib/src/mesa/program/prog_parameter_layout.c
+++ b/mesalib/src/mesa/program/prog_parameter_layout.c
@@ -207,6 +207,7 @@ _mesa_layout_parameters(struct asm_parser_state *state)
}
}
+ layout->StateFlags = state->prog->Parameters->StateFlags;
_mesa_free_parameter_list(state->prog->Parameters);
state->prog->Parameters = layout;