summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_fragprog_to_c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast/s_fragprog_to_c.c')
-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 d5d27d0bcf..fa66969330 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));