summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_tgsi.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-05-22 16:53:04 -0600
committerBrian Paul <[email protected]>2012-05-25 10:02:22 -0600
commit93ea5cd80b98219100782feb3fee9d7283059036 (patch)
treef8360883a7f031fbecc10abc36aa596563d1cae7 /src/gallium/drivers/svga/svga_tgsi.c
parentdcb4ec5ae1874d57cc668baac483654e0dfeb4aa (diff)
svga: remove the special zero-stride vertex array code
This code actually hasn't been needed for some time now. We can just treat a zero-stride vertex array like any other non-zero-stride array.
Diffstat (limited to 'src/gallium/drivers/svga/svga_tgsi.c')
-rw-r--r--src/gallium/drivers/svga/svga_tgsi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi.c b/src/gallium/drivers/svga/svga_tgsi.c
index 02ce59f3931..8a1ed4aba79 100644
--- a/src/gallium/drivers/svga/svga_tgsi.c
+++ b/src/gallium/drivers/svga/svga_tgsi.c
@@ -284,7 +284,6 @@ svga_tgsi_translate( const struct svga_shader *shader,
if (unit == PIPE_SHADER_VERTEX) {
emit.imm_start += key.vkey.need_prescale ? 2 : 0;
- emit.imm_start += key.vkey.num_zero_stride_vertex_elements;
}
emit.nr_hw_float_const = (emit.imm_start + emit.info.file_max[TGSI_FILE_IMMEDIATE] + 1);