Re: [Mesa-dev] [PATCH] nir: Use a system value for gl_PrimitiveIDIn.

2015-09-29 Thread Iago Toral
On Mon, 2015-09-28 at 23:05 -0700, Kenneth Graunke wrote: > At least on Intel hardware, gl_PrimitiveIDIn comes in as a special part > of the payload rather than a normal input. This is typically what we > use system values for. Dave and Ilia also agree that a system value > would be nicer. > > A

[Mesa-dev] [PATCH] nir: Use a system value for gl_PrimitiveIDIn.

2015-09-28 Thread Kenneth Graunke
At least on Intel hardware, gl_PrimitiveIDIn comes in as a special part of the payload rather than a normal input. This is typically what we use system values for. Dave and Ilia also agree that a system value would be nicer. At some point, we should change it at the GLSL IR level as well. But t