work around a param bug (Adam Jackson)
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 25 Aug 2004 14:39:40 +0000 (14:39 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 25 Aug 2004 14:39:40 +0000 (14:39 +0000)
src/mesa/swrast/s_fragprog_to_c.c

index d5d27d0bcf713cddb35a3ea8f69983b8a8cf035d..fa66969330701893112ea65e820acffa82a46646 100644 (file)
@@ -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));