aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atifs_to_tgsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_atifs_to_tgsi.c')
-rw-r--r--src/mesa/state_tracker/st_atifs_to_tgsi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/st_atifs_to_tgsi.c b/src/mesa/state_tracker/st_atifs_to_tgsi.c
index 25ccf707350..8affbdc8d1d 100644
--- a/src/mesa/state_tracker/st_atifs_to_tgsi.c
+++ b/src/mesa/state_tracker/st_atifs_to_tgsi.c
@@ -605,10 +605,6 @@ st_init_atifs_prog(struct gl_context *ctx, struct gl_program *prog)
}
_mesa_add_state_reference(prog->Parameters, fog_params_state);
_mesa_add_state_reference(prog->Parameters, fog_color);
-
- prog->arb.NumInstructions = 0;
- prog->arb.NumTemporaries = MAX_NUM_FRAGMENT_REGISTERS_ATI + 3; /* 3 input temps for arith ops */
- prog->arb.NumParameters = MAX_NUM_FRAGMENT_CONSTANTS_ATI + 2; /* 2 state variables for fog */
}