summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvfragparse.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-11-05 02:15:21 +0000
committerBrian Paul <[email protected]>2005-11-05 02:15:21 +0000
commit613e1ad5d517d9964bd9cf94daa931dda33113fe (patch)
tree82e4e7c4b9caf7cd5b341aff7c0b33fe25b29277 /src/mesa/shader/nvfragparse.c
parent4d0b7618cb3ada3b13e9e9b650ace34f5131e318 (diff)
Replace parameter_type enum in program.[ch], use register_file enums instead.
Diffstat (limited to 'src/mesa/shader/nvfragparse.c')
-rw-r--r--src/mesa/shader/nvfragparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/nvfragparse.c b/src/mesa/shader/nvfragparse.c
index 2e1113267a6..41344ec8694 100644
--- a/src/mesa/shader/nvfragparse.c
+++ b/src/mesa/shader/nvfragparse.c
@@ -1582,7 +1582,7 @@ PrintSrcReg(const struct fragment_program *program,
_mesa_printf("-");
}
if (src->File == PROGRAM_NAMED_PARAM) {
- if (program->Parameters->Parameters[src->Index].Type == CONSTANT) {
+ if (program->Parameters->Parameters[src->Index].Type == PROGRAM_CONSTANT) {
_mesa_printf("{%g, %g, %g, %g}",
program->Parameters->ParameterValues[src->Index][0],
program->Parameters->ParameterValues[src->Index][1],
@@ -1591,7 +1591,7 @@ PrintSrcReg(const struct fragment_program *program,
}
else {
ASSERT(program->Parameters->Parameters[src->Index].Type
- == NAMED_PARAMETER);
+ == PROGRAM_NAMED_PARAM);
_mesa_printf("%s", program->Parameters->Parameters[src->Index].Name);
}
}