summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-09-19 07:15:38 +0000
committerIan Romanick <idr@us.ibm.com>2004-09-19 07:15:38 +0000
commitb9bbe780313d584974307389a67ca94ad65de3c0 (patch)
treedbbbd8936ee92fc1d8d2b0b5faf2127bece6a613
parentbe3359bad5930a7aa27237d48aa67e6c7b11975b (diff)
Added GL_ARB_point_parameters support for i830.
-rw-r--r--src/mesa/drivers/dri/i915/i830_vtbl.c4
-rw-r--r--src/mesa/drivers/dri/i915/i915_context.c1
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.c1
3 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c b/src/mesa/drivers/dri/i915/i830_vtbl.c
index e1ddce2bb7..b0a7287c90 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 87408b6c77..4cfc502d89 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 e32a98befb..610e0f5423 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",