From: Zou Nan hai Date: Fri, 26 Oct 2007 07:39:50 +0000 (+0800) Subject: Merge branch '965-glsl' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ef27b88e6f767cd476676b33cb7c4ea6922234e;p=mesa.git Merge branch '965-glsl' Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c --- 6ef27b88e6f767cd476676b33cb7c4ea6922234e diff --cc src/mesa/drivers/dri/i965/brw_sf.h index e8946511dd4,23b89684b24..385f1eea136 --- a/src/mesa/drivers/dri/i965/brw_sf.h +++ b/src/mesa/drivers/dri/i965/brw_sf.h @@@ -48,16 -49,10 +49,15 @@@ struct brw_sf_prog_key GLuint primitive:2; GLuint do_twoside_color:1; GLuint do_flat_shading:1; - GLuint attrs:16; GLuint frontface_ccw:1; - GLuint pad:27; + GLuint do_point_sprite:1; + GLuint pad:10; + GLenum SpriteOrigin; }; +struct brw_sf_point_tex { + GLboolean CoordReplace; +}; struct brw_sf_compile { struct brw_compile func; diff --cc src/mesa/drivers/dri/i965/intel_context.c index 7ec316aa8ae,a5d8be83865..9850997aad1 --- a/src/mesa/drivers/dri/i965/intel_context.c +++ b/src/mesa/drivers/dri/i965/intel_context.c @@@ -83,7 -81,11 +83,12 @@@ int INTEL_DEBUG = (0) #define need_GL_EXT_fog_coord #define need_GL_EXT_multi_draw_arrays #define need_GL_EXT_secondary_color +#define need_GL_EXT_point_parameters + #define need_GL_VERSION_2_0 + #define need_GL_VERSION_2_1 + #define need_GL_ARB_shader_objects + #define need_GL_ARB_vertex_shader + #include "extension_helper.h" #ifndef VERBOSE