Re: [Mesa-dev] explaining update_arrays

2011-06-22 Thread Brian Paul
On 06/22/2011 02:36 PM, Dave Airlie wrote: By the looks of it the 0/POS attrib + the overlapping/16-31 ones check _Current and the others all check _Enabled, to me it would make some sense at least if 0 was consistent with the others, but maybe someone knows what is correct. The confusion pro

Re: [Mesa-dev] explaining update_arrays

2011-06-22 Thread Dave Airlie
>> >>> By the looks of it the 0/POS attrib + the overlapping/16-31 ones check >>> _Current >>> and the others all check _Enabled, to me it would make some sense at >>> least if 0 >>> was consistent with the others, but maybe someone knows what is correct. >> >> The confusion probably goes all the w

Re: [Mesa-dev] explaining update_arrays

2011-06-22 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/22/2011 07:11 AM, Brian Paul wrote: > On 06/22/2011 04:18 AM, Dave Airlie wrote: >> I don't suppose anyone could contribute a comment on why somethings >> check ctx->VertexProgram._Current, >> and others check ctx->VertexProgram._Enabled > > The

Re: [Mesa-dev] explaining update_arrays

2011-06-22 Thread Brian Paul
On 06/22/2011 08:20 AM, Roland Scheidegger wrote: Am 22.06.2011 16:11, schrieb Brian Paul: On 06/22/2011 04:18 AM, Dave Airlie wrote: I don't suppose anyone could contribute a comment on why somethings check ctx->VertexProgram._Current, and others check ctx->VertexProgram._Enabled The former

Re: [Mesa-dev] explaining update_arrays

2011-06-22 Thread Roland Scheidegger
Am 22.06.2011 16:11, schrieb Brian Paul: > On 06/22/2011 04:18 AM, Dave Airlie wrote: >> I don't suppose anyone could contribute a comment on why somethings >> check ctx->VertexProgram._Current, >> and others check ctx->VertexProgram._Enabled > > The former may point to a GLSL shader/program, a >

Re: [Mesa-dev] explaining update_arrays

2011-06-22 Thread Brian Paul
On 06/22/2011 04:18 AM, Dave Airlie wrote: I don't suppose anyone could contribute a comment on why somethings check ctx->VertexProgram._Current, and others check ctx->VertexProgram._Enabled The former may point to a GLSL shader/program, a GL_NV/ARB_vertex_program program or a shader derived f

[Mesa-dev] explaining update_arrays

2011-06-22 Thread Dave Airlie
I don't suppose anyone could contribute a comment on why somethings check ctx->VertexProgram._Current, and others check ctx->VertexProgram._Enabled By the looks of it the 0/POS attrib + the overlapping/16-31 ones check _Current and the others all check _Enabled, to me it would make some sense at l