mesa/src
Chad Versace f378e8fea0 i965: Change type of brw_context.primitive from GLenum to hardware primitive
For example, GL_TRIANLGES 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.

v2
----
- [anholt] Split brw_set_prim into brw/gen6 variants in previous commit,
  since not much code is really shared between the two.
- [anholt] Replace switch statements with table lookups, since this is
  a hot path.

Reviewed-by: Eric Anholt <eric@anho.net>
Signed-off-by: Chad Versace <chad@chad-versace.us>
2011-10-10 13:24:11 -07:00
..
egl configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles. 2011-10-04 11:19:48 -07:00
gallium r600g: drop force int type workaround 2011-10-10 20:53:26 +01:00
gbm gbm/dri: avoid crash in dri_screen_create 2011-08-04 14:09:34 +02:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl linker: Fix a slightly incorrect comment 2011-10-10 10:23:53 -07:00
glu glu: Avoid defining conflicting DEBUG NDEBUG macros. 2011-08-30 09:42:01 +01:00
glx scons: MacOSX build fixes. 2011-09-20 20:41:57 +01:00
mapi glapi: Enclose glapi.h in an extern "C" block when included by C++. 2011-10-04 15:11:42 -07:00
mesa i965: Change type of brw_context.primitive from GLenum to hardware primitive 2011-10-10 13:24:11 -07:00
Makefile
SConscript scons: Unbreak mingw build. 2011-09-20 20:50:48 +01:00