Re: [Mesa-dev] [PATCH] draw: fix vertex id computation

2013-07-25 Thread Jose Fonseca
Looks good. Thanks. Jose - Original Message - > vertex id has to be unaffected by the start index (i.e. when calling > draw arrays with start_index = 5, the first vertex_id has to still > be 0, not 5) and it has to be equal to the index when performing > indexed rendering (in which case i

Re: [Mesa-dev] [PATCH] draw: fix vertex id computation

2013-07-24 Thread Roland Scheidegger
Am 24.07.2013 23:22, schrieb Zack Rusin: > vertex id has to be unaffected by the start index (i.e. when calling > draw arrays with start_index = 5, the first vertex_id has to still > be 0, not 5) and it has to be equal to the index when performing > indexed rendering (in which case it has to be una

Re: [Mesa-dev] [PATCH] draw: fix vertex id computation

2013-07-24 Thread Brian Paul
On 07/24/2013 03:22 PM, Zack Rusin wrote: vertex id has to be unaffected by the start index (i.e. when calling draw arrays with start_index = 5, the first vertex_id has to still be 0, not 5) and it has to be equal to the index when performing indexed rendering (in which case it has to be unaffect

[Mesa-dev] [PATCH] draw: fix vertex id computation

2013-07-24 Thread Zack Rusin
vertex id has to be unaffected by the start index (i.e. when calling draw arrays with start_index = 5, the first vertex_id has to still be 0, not 5) and it has to be equal to the index when performing indexed rendering (in which case it has to be unaffected by the index bias). This fixes our behavi