Re: [Mesa-dev] [PATCH] i965: Make fs gl_PrimitiveID input work even when there's no gs.

2013-10-25 Thread Paul Berry
On 23 October 2013 10:51, Eric Anholt wrote: > Paul Berry writes: > > > When a geometry shader is present, the fragment shader gl_PrimitiveID > > input acts like an ordinary varying, receiving data from the gs > > gl_PrimitiveID output. When there's no geometry shader, we have to > > ask the fi

Re: [Mesa-dev] [PATCH] i965: Make fs gl_PrimitiveID input work even when there's no gs.

2013-10-23 Thread Eric Anholt
Paul Berry writes: > When a geometry shader is present, the fragment shader gl_PrimitiveID > input acts like an ordinary varying, receiving data from the gs > gl_PrimitiveID output. When there's no geometry shader, we have to > ask the fixed function SF hardware to provide the primitive ID to th

[Mesa-dev] [PATCH] i965: Make fs gl_PrimitiveID input work even when there's no gs.

2013-10-22 Thread Paul Berry
When a geometry shader is present, the fragment shader gl_PrimitiveID input acts like an ordinary varying, receiving data from the gs gl_PrimitiveID output. When there's no geometry shader, we have to ask the fixed function SF hardware to provide the primitive ID to the fragment shader instead. P