mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
mesa: set parameter list StateFlags field in _mesa_layout_parameters()
When using _mesa_layout_parameters, all params copied in the 'layout' output in the PASS 1 don't modify StateFlags (because they are simply memcpy'ed). This patch fixes the problem, assuring output gl_prog_param_list StateFlags field is the same as the input one. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
0653c450cc
commit
4eeabd5a3d
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue