diff options
author | Brian <brian@yutani.localnet.net> | 2007-02-22 09:29:46 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-02-22 09:29:46 -0700 |
commit | 776bc9cf55b116e17dddde4d097985b51879c83f (patch) | |
tree | 7f2b21fffc33807b0bd8d23636a1fd024f90d822 /src/mesa/tnl | |
parent | 3f4826a358cab8b6d638fc8eb46aef668a7bcf46 (diff) |
Undo some STATE_POINT/FOG changes. Max length of state token array is now 5.
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_vp_build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c index 283782588a..17f115f4a2 100644 --- a/src/mesa/tnl/t_vp_build.c +++ b/src/mesa/tnl/t_vp_build.c @@ -1323,8 +1323,8 @@ static void build_texture_transform( struct tnl_program *p ) static void build_pointsize( struct tnl_program *p ) { struct ureg eye = get_eye_position(p); - struct ureg state_size = register_param2(p, STATE_POINT, STATE_POINT_SIZE); - struct ureg state_attenuation = register_param2(p, STATE_POINT, STATE_POINT_ATTENUATION); + struct ureg state_size = register_param1(p, STATE_POINT_SIZE); + struct ureg state_attenuation = register_param1(p, STATE_POINT_ATTENUATION); struct ureg out = register_output(p, VERT_RESULT_PSIZ); struct ureg ut = get_temp(p); |