tgsi_dump(aaline_fs.tokens, 0);
#endif
-#if 0 /* XXX remove */
- aaline_fs.input_semantic_name[aaline_fs.num_inputs] = TGSI_SEMANTIC_GENERIC;
- aaline_fs.input_semantic_index[aaline_fs.num_inputs] = transform.maxGeneric + 1;
- aaline_fs.num_inputs++;
-#endif
-
aaline->fs->aaline_fs
= aaline->driver_create_fs_state(aaline->pipe, &aaline_fs);
tgsi_dump(aapoint_fs.tokens, 0);
#endif
-#if 0 /* XXX remove */
- aapoint_fs.input_semantic_name[aapoint_fs.num_inputs] = TGSI_SEMANTIC_GENERIC;
- aapoint_fs.input_semantic_index[aapoint_fs.num_inputs] = transform.maxGeneric + 1;
- aapoint_fs.num_inputs++;
-#endif
-
aapoint->fs->aapoint_fs
= aapoint->driver_create_fs_state(aapoint->pipe, &aapoint_fs);
(struct tgsi_token *) pstip_fs.tokens,
MAX, &transform.base);
-#if 1 /* DEBUG */
+#if 0 /* DEBUG */
tgsi_dump(orig_fs->tokens, 0);
tgsi_dump(pstip_fs.tokens, 0);
#endif
pstip->sampler_unit = transform.maxSampler + 1;
-#if 0 /* XXX remove */
- if (transform.wincoordInput < 0) {
- pstip_fs.input_semantic_name[pstip_fs.num_inputs] = TGSI_SEMANTIC_POSITION;
- pstip_fs.input_semantic_index[pstip_fs.num_inputs] = (ubyte)transform.maxInput;
- pstip_fs.num_inputs++;
- }
-#endif
-
pstip->fs->pstip_fs = pstip->driver_create_fs_state(pstip->pipe, &pstip_fs);
}
struct pipe_shader_state
{
const struct tgsi_token *tokens;
-#if 0
- /* XXX these are going away */
- ubyte num_inputs;
- ubyte num_outputs;
- ubyte input_semantic_name[PIPE_MAX_SHADER_INPUTS]; /**< TGSI_SEMANTIC_x */
- ubyte input_semantic_index[PIPE_MAX_SHADER_INPUTS];
- ubyte output_semantic_name[PIPE_MAX_SHADER_OUTPUTS]; /**< TGSI_SEMANTIC_x */
- ubyte output_semantic_index[PIPE_MAX_SHADER_OUTPUTS];
-#endif
};