From ef1b9426918a29b7ddd28601b0e53ed683abb89a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 5 Jan 2010 09:14:48 -0700 Subject: [PATCH] st/mesa: added PROGRAM_LOCAL_PARAM case in src_register() Fixes piglit vpfp-generic arl.vpfp failure when using gallium. --- src/mesa/state_tracker/st_mesa_to_tgsi.c | 1 + 1 file changed, 1 insertion(+) 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]; -- 2.30.2