Re: [Mesa-dev] [PATCH 2/2] i965/gs: Fix gl_PrimitiveIDIn when using SW primitive restart.

2013-11-22 Thread Eric Anholt
Paul Berry writes: > Ivy Bridge hardware doesn't support primitve restart under all > circumstances--when it doesn't, we emulate it in software by splitting > up each logical draw operation into multiple 3DPRIMITIVE commands. > This causes the hardware's primitive ID counter to be reset to 0, > p

[Mesa-dev] [PATCH 2/2] i965/gs: Fix gl_PrimitiveIDIn when using SW primitive restart.

2013-10-11 Thread Paul Berry
Ivy Bridge hardware doesn't support primitve restart under all circumstances--when it doesn't, we emulate it in software by splitting up each logical draw operation into multiple 3DPRIMITIVE commands. This causes the hardware's primitive ID counter to be reset to 0, producing incorrect values for g