Re: [Mesa-dev] [PATCH 2/2] r600g: add support for primitive id without geom shader

2015-01-27 Thread Glenn Kennard
On Tue, 27 Jan 2015 04:46:33 +0100, Dave Airlie wrote: From: Dave Airlie GLSL 1.50 specifies a fragment shader may have a primitive id input without a geometry shader present. On r600 hw there is a special GS scenario for this, you have to enable GS_SCENARIO_A and pass the primitive id throu

[Mesa-dev] [PATCH 2/2] r600g: add support for primitive id without geom shader

2015-01-26 Thread Dave Airlie
From: Dave Airlie GLSL 1.50 specifies a fragment shader may have a primitive id input without a geometry shader present. On r600 hw there is a special GS scenario for this, you have to enable GS_SCENARIO_A and pass the primitive id through the vertex shader which operates in GS_A mode. This is