Added GL_ARB_point_parameters support for i830.
authorIan Romanick <idr@us.ibm.com>
Sun, 19 Sep 2004 07:15:38 +0000 (07:15 +0000)
committerIan Romanick <idr@us.ibm.com>
Sun, 19 Sep 2004 07:15:38 +0000 (07:15 +0000)
src/mesa/drivers/dri/i915/i830_vtbl.c
src/mesa/drivers/dri/i915/i915_context.c
src/mesa/drivers/dri/i915/intel_context.c

index e1ddce2bb7340ff41bcb48864a0c53a2a60250e8..b0a7287c90188ac3113711119674304e347c13ad 100644 (file)
@@ -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;
index 87408b6c77a8a1d6f116fd9b308406bbef4a10a2..4cfc502d89afabb303e7cc6d47e745092d2da242 100644 (file)
@@ -48,7 +48,6 @@
 static const char * const card_extensions[] =
 {
    "GL_ARB_fragment_program",
-   "GL_ARB_point_parameters",
    "GL_ARB_texture_cube_map",
    NULL
 };
index e32a98befb745b9c2f2822cb6b3f822a93e71bcf..610e0f5423942e5b7ca71dc0e5c1054aaf34ff61 100644 (file)
@@ -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",