From: Brian Paul Date: Tue, 5 Jan 2010 16:14:48 +0000 (-0700) Subject: st/mesa: added PROGRAM_LOCAL_PARAM case in src_register() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef1b9426918a29b7ddd28601b0e53ed683abb89a;p=mesa.git st/mesa: added PROGRAM_LOCAL_PARAM case in src_register() Fixes piglit vpfp-generic arl.vpfp failure when using gallium. --- diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c index bd94c9d79e8..a805251c462 100644 --- a/src/mesa/state_tracker/st_mesa_to_tgsi.c +++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c @@ -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];