From: Brian Paul Date: Wed, 25 Aug 2004 14:39:40 +0000 (+0000) Subject: work around a param bug (Adam Jackson) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b550e1e3c4d84a24130a50c24b7140c7696656e;p=mesa.git work around a param bug (Adam Jackson) --- 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));