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,
-
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,
-
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