From: Ian Romanick Date: Sun, 19 Sep 2004 07:15:38 +0000 (+0000) Subject: Added GL_ARB_point_parameters support for i830. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9bbe780313d584974307389a67ca94ad65de3c0;p=mesa.git Added GL_ARB_point_parameters support for i830. --- diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c b/src/mesa/drivers/dri/i915/i830_vtbl.c index e1ddce2bb73..b0a7287c901 100644 --- a/src/mesa/drivers/dri/i915/i830_vtbl.c +++ b/src/mesa/drivers/dri/i915/i830_vtbl.c @@ -87,6 +87,10 @@ static void i830_render_start( intelContextPtr intel ) intel->coloroffset = 3; } + if (index & _TNL_BIT_POINTSIZE) { + EMIT_ATTR( _TNL_ATTRIB_POINTSIZE, EMIT_1F, VFT0_POINT_WIDTH ); + } + EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_BGRA, VFT0_DIFFUSE ); intel->specoffset = 0; diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c index 87408b6c77a..4cfc502d89a 100644 --- a/src/mesa/drivers/dri/i915/i915_context.c +++ b/src/mesa/drivers/dri/i915/i915_context.c @@ -48,7 +48,6 @@ static const char * const card_extensions[] = { "GL_ARB_fragment_program", - "GL_ARB_point_parameters", "GL_ARB_texture_cube_map", NULL }; diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index e32a98befb7..610e0f54239 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -142,6 +142,7 @@ static const char * const card_extensions[] = { "GL_ARB_multisample", "GL_ARB_multitexture", + "GL_ARB_point_parameters", "GL_ARB_texture_border_clamp", "GL_ARB_texture_compression", "GL_ARB_texture_env_add",