summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_parameter_layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/program/prog_parameter_layout.c')
-rw-r--r--src/mesa/program/prog_parameter_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/prog_parameter_layout.c b/src/mesa/program/prog_parameter_layout.c
index 90a9771080c..28fca3b92d9 100644
--- a/src/mesa/program/prog_parameter_layout.c
+++ b/src/mesa/program/prog_parameter_layout.c
@@ -182,7 +182,7 @@ _mesa_layout_parameters(struct asm_parser_state *state)
switch (p->Type) {
case PROGRAM_CONSTANT: {
- const float *const v =
+ const gl_constant_value *const v =
state->prog->Parameters->ParameterValues[idx];
inst->Base.SrcReg[i].Index =