diff options
author | Brian Paul <[email protected]> | 2010-01-05 09:14:48 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-05 09:14:50 -0700 |
commit | ef1b9426918a29b7ddd28601b0e53ed683abb89a (patch) | |
tree | c71e3a384da55ce94c4e5b5f05081e50990d861a /src | |
parent | bd96b51303512bef301c4cee5c7a65ebb3371913 (diff) |
st/mesa: added PROGRAM_LOCAL_PARAM case in src_register()
Fixes piglit vpfp-generic arl.vpfp failure when using gallium.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_mesa_to_tgsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |