st/mesa: added PROGRAM_LOCAL_PARAM case in src_register()
authorBrian Paul <brianp@vmware.com>
Tue, 5 Jan 2010 16:14:48 +0000 (09:14 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 5 Jan 2010 16:14:50 +0000 (09:14 -0700)
Fixes piglit vpfp-generic arl.vpfp failure when using gallium.

src/mesa/state_tracker/st_mesa_to_tgsi.c

index bd94c9d79e8054afff6a9bede8f014ed49b80dbb..a805251c46275153384f27f745e097ea4921ed40 100644 (file)
@@ -174,6 +174,7 @@ src_register( struct st_translate *t,
    case PROGRAM_STATE_VAR:
    case PROGRAM_NAMED_PARAM:
    case PROGRAM_ENV_PARAM:
+   case PROGRAM_LOCAL_PARAM:
    case PROGRAM_UNIFORM:
    case PROGRAM_CONSTANT:       /* ie, immediate */
       return t->constants[index];