summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pstipple.c
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2008-02-27 16:02:58 -0700
committerBrian <brian@i915.localnet.net>2008-02-27 16:02:58 -0700
commitcddeca51adf0d2b736a223e47b60f6ef3be85bff (patch)
tree6aa036301dcd1cd5cb4488742427fec2f5c6d7b8 /src/gallium/auxiliary/draw/draw_pstipple.c
parent7df26d76d2a37e9e828296bfbcf7cec04bfbe233 (diff)
gallium: remove dependencies on pipe_shader_state's semantic info
Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pstipple.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pstipple.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pstipple.c b/src/gallium/auxiliary/draw/draw_pstipple.c
index efc88bf038..f6200aa820 100644
--- a/src/gallium/auxiliary/draw/draw_pstipple.c
+++ b/src/gallium/auxiliary/draw/draw_pstipple.c
@@ -330,11 +330,13 @@ generate_pstip_fs(struct pstip_stage *pstip)
pstip->sampler_unit = transform.maxSampler + 1;
+#if 1 /* 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);
}