summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-08-25 14:39:40 +0000
committerBrian Paul <[email protected]>2004-08-25 14:39:40 +0000
commit3b550e1e3c4d84a24130a50c24b7140c7696656e (patch)
tree688e5fee5117136b4920ca104804db7450fa585c
parentf43cc67616e5f48265be50e9b3867f004f69a61b (diff)
work around a param bug (Adam Jackson)
-rw-r--r--src/mesa/swrast/s_fragprog_to_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_fragprog_to_c.c b/src/mesa/swrast/s_fragprog_to_c.c
index d5d27d0bcf7..fa669693307 100644
--- a/src/mesa/swrast/s_fragprog_to_c.c
+++ b/src/mesa/swrast/s_fragprog_to_c.c
@@ -297,7 +297,7 @@ static void print_reg( struct fragment_program *p,
case UREG_TYPE_LOCAL_CONST: emit(p, "local_const"); break;
case UREG_TYPE_ENV_CONST: emit(p, "env_const"); break;
case UREG_TYPE_STATE_CONST: emit(p, "state_param"); break;
- case UREG_TYPE_PARAM: emit(p, "param"); break;
+ case UREG_TYPE_PARAM: emit(p, "local_param"); break;
};
emit(p, "[%d]", GET_UREG_NR(arg));