summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_parameter_layout.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-10-14 16:56:42 -0700
committerKenneth Graunke <kenneth@whitecape.org>2012-10-16 11:35:24 -0700
commitd0021cb0fb7c28ff9f496f02b7bb3b2ab0722304 (patch)
tree06ac2bff482e1fca69e4a9d5ed54cf5b9caa70c4 /src/mesa/program/prog_parameter_layout.c
parenteda4a4ae81481c4b0a300ad91e607a18a8d81cb3 (diff)
downloadexternal_mesa3d-d0021cb0fb7c28ff9f496f02b7bb3b2ab0722304.zip
external_mesa3d-d0021cb0fb7c28ff9f496f02b7bb3b2ab0722304.tar.gz
external_mesa3d-d0021cb0fb7c28ff9f496f02b7bb3b2ab0722304.tar.bz2
mesa: Remove remnants of PROGRAM_VARYING.
The previous patch removed the producer of things in this file. Since there aren't any, we can remove it. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
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 e4f2db3..e834690 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;
}