Re: [Mesa-dev] GLSL IR representation of EmitVertex

2011-08-19 Thread Marek Olšák
On Fri, Aug 19, 2011 at 8:42 AM, Kenneth Graunke wrote: > On 08/18/2011 12:02 PM, Vincent Lejeune wrote: >> Hi, >> >> I would like to have several opinions about the implementation (on the >> frontend side) of EmitVertex() function. >> >> Prototype of the function is : >> void EmitVertex(); >> >

Re: [Mesa-dev] GLSL IR representation of EmitVertex

2011-08-18 Thread Kenneth Graunke
On 08/18/2011 12:02 PM, Vincent Lejeune wrote: > Hi, > > I would like to have several opinions about the implementation (on the > frontend side) of EmitVertex() function. > > Prototype of the function is : > void EmitVertex(); > > It is only available when writing Geometry Shader Code, it acts

[Mesa-dev] GLSL IR representation of EmitVertex

2011-08-18 Thread Vincent Lejeune
Hi, I would like to have several opinions about the implementation (on the frontend side) of EmitVertex() function. Prototype of the function is : void EmitVertex(); It is only available when writing Geometry Shader Code, it acts as a beacon saying the GPU to generate a vertex according to gl_