Re: [Mesa-dev] [PATCH 15/19] i965: Change type of brw_context.primitive from GLenum to hardware primitive

2011-09-27 Thread Chad Versace
On 09/26/2011 12:05 PM, Eric Anholt wrote: On Fri, 23 Sep 2011 17:37:45 -0700, Chad Versacec...@chad-versace.us wrote: For example, GL_TRIANLES is converted to _3DPRIM_TRILIST. missing a G Thanks. -static const GLenum reduced_prim[GL_POLYGON+1] = { - GL_POINTS, - GL_LINES, -

Re: [Mesa-dev] [PATCH 15/19] i965: Change type of brw_context.primitive from GLenum to hardware primitive

2011-09-26 Thread Eric Anholt
On Fri, 23 Sep 2011 17:37:45 -0700, Chad Versace c...@chad-versace.us wrote: For example, GL_TRIANLES is converted to _3DPRIM_TRILIST. missing a G -static const GLenum reduced_prim[GL_POLYGON+1] = { - GL_POINTS, - GL_LINES, - GL_LINES, - GL_LINES, - GL_TRIANGLES, -

[Mesa-dev] [PATCH 15/19] i965: Change type of brw_context.primitive from GLenum to hardware primitive

2011-09-23 Thread Chad Versace
For example, GL_TRIANLES is converted to _3DPRIM_TRILIST. The conversion is necessary because HiZ and MSAA resolve operations emit a 3DPRIM_RECTLIST, which cannot be conveyed by GLenum. As a consequence, brw_gs_prog_key.primitive is also converted. Signed-off-by: Chad Versace