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 e4f2db3b379..e83469059c5 100644
--- a/src/mesa/program/prog_parameter_layout.c
+++ b/src/mesa/program/prog_parameter_layout.c
@@ -173,7 +173,7 @@ _mesa_layout_parameters(struct asm_parser_state *state)
continue;
}
- if ((inst->SrcReg[i].Base.File <= PROGRAM_VARYING )
+ if ((inst->SrcReg[i].Base.File <= PROGRAM_OUTPUT)
|| (inst->SrcReg[i].Base.File >= PROGRAM_WRITE_ONLY)) {
continue;
}