From: Andre Maasikas Date: Fri, 23 Oct 2009 13:44:31 +0000 (+0300) Subject: r600: remove duplicate stride setting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4d4733e6c312f2a8e9977b06fc554904407c456;p=mesa.git r600: remove duplicate stride setting Stride is set already in r700SetVertexFormat and there it works correctly for 0 also --- 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);