diff options
author | Keith Whitwell <[email protected]> | 2010-02-01 20:32:32 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-02-01 20:33:53 +0000 |
commit | d51b04320d79234f86fc2b881dab33e646400e76 (patch) | |
tree | fa57fe5d926541aabbc6072c6c11901ab5480ce6 /src/mesa/state_tracker/st_program.c | |
parent | 12ffee5d58de487cd03e274f7d6f7118d9ad8206 (diff) |
st/mesa: remove dead stfp input_map array
Was being calculated and not used. Also was probably incorrect...
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r-- | src/mesa/state_tracker/st_program.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index 5c87e47ca3d..afe924fc9c7 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -286,7 +286,6 @@ st_translate_fragment_program(struct st_context *st, enum pipe_error error; const GLbitfield inputsRead = stfp->Base.Base.InputsRead; struct ureg_program *ureg; - GLuint vslot = 0; uint fs_num_inputs = 0; @@ -294,12 +293,6 @@ st_translate_fragment_program(struct st_context *st, ubyte fs_output_semantic_index[PIPE_MAX_SHADER_OUTPUTS]; uint fs_num_outputs = 0; - /* which vertex output goes to the first fragment input: */ - if (inputsRead & FRAG_BIT_WPOS) - vslot = 0; - else - vslot = 1; - /* * Convert Mesa program inputs to TGSI input register semantics. */ @@ -309,8 +302,6 @@ st_translate_fragment_program(struct st_context *st, defaultInputMapping[attr] = slot; - stfp->input_map[slot] = vslot++; - fs_num_inputs++; switch (attr) { |