Re: [Mesa-dev] shader inputs vs. system values

2010-12-01 Thread Zack Rusin
On Wednesday 01 December 2010 19:46:42 Brian Paul wrote: > I was working on finishing up instanced drawing in Mesa/gallium last > week. The one stumbling block was how to handle the instance ID. > > The instance ID is an integer accessible by the vertex shader that > only changes per drawing inst

[Mesa-dev] shader inputs vs. system values

2010-12-01 Thread Brian Paul
I was working on finishing up instanced drawing in Mesa/gallium last week. The one stumbling block was how to handle the instance ID. The instance ID is an integer accessible by the vertex shader that only changes per drawing instance, not per vertex. For that reason it seems a little funny to