summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Maasikas <[email protected]>2009-10-23 16:44:31 +0300
committerAndre Maasikas <[email protected]>2009-10-23 17:16:46 +0300
commitd4d4733e6c312f2a8e9977b06fc554904407c456 (patch)
tree12c1403786ffa75928395d3ba5e9b543cec9b958
parent738b394769bb95036635f7a00a1ef08890c5be63 (diff)
r600: remove duplicate stride setting
Stride is set already in r700SetVertexFormat and there it works correctly for 0 also
-rw-r--r--src/mesa/drivers/dri/r600/r700_render.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_render.c b/src/mesa/drivers/dri/r600/r700_render.c
index 3e1ce9fb72f..9cf984f9663 100644
--- a/src/mesa/drivers/dri/r600/r700_render.c
+++ b/src/mesa/drivers/dri/r600/r700_render.c
@@ -618,19 +618,15 @@ static void r700SetupStreams(GLcontext *ctx, const struct gl_client_array *input
{
case 1:
radeonEmitVec4(dst, input[i]->Ptr, input[i]->StrideB, local_count);
- context->stream_desc[index].stride = 4;
break;
case 2:
radeonEmitVec8(dst, input[i]->Ptr, input[i]->StrideB, local_count);
- context->stream_desc[index].stride = 8;
break;
case 3:
radeonEmitVec12(dst, input[i]->Ptr, input[i]->StrideB, local_count);
- context->stream_desc[index].stride = 12;
break;
case 4:
radeonEmitVec16(dst, input[i]->Ptr, input[i]->StrideB, local_count);
- context->stream_desc[index].stride = 16;
break;
default:
assert(0);