diff options
author | Timothy Arceri <[email protected]> | 2017-11-10 19:49:29 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-11-12 11:59:22 +1100 |
commit | b99fb1a04dbec34e43525615d99b683271241ffe (patch) | |
tree | c1d134d37950d1cc7bfc5a12a83a63fe68354c6d /src/mesa/state_tracker | |
parent | 8fe6abd964ad1ff9c749fe50031dfdb9f18cae2a (diff) |
st/atifs: remove unrequired initialisation of gl_program fields
As far as I can tell these fields are only used to query arb
program info and are not related to ATI_fragment_shader.
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Miklós Máté <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_atifs_to_tgsi.c | 4 |
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 */ } |