mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
r600: remove duplicate stride setting
Stride is set already in r700SetVertexFormat and there it works correctly for 0 also
This commit is contained in:
parent
738b394769
commit
d4d4733e6c
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue