projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fae667
)
fix fd.o bug #11788, max point size
author
Zou Nan hai
<nanhai.zou@intel.com>
Wed, 1 Aug 2007 03:08:05 +0000
(11:08 +0800)
committer
Zou Nan hai
<nanhai.zou@intel.com>
Wed, 1 Aug 2007 03:08:05 +0000
(11:08 +0800)
src/mesa/drivers/dri/i965/brw_sf_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_sf_state.c
b/src/mesa/drivers/dri/i965/brw_sf_state.c
index 9a6e5f5f192ae7097e5069bf43dde34756d94162..307fb63785132960e5c197f6d75ba3de65d5a27f 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_sf_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_sf_state.c
@@
-185,7
+185,7
@@
static void upload_sf_unit( struct brw_context *brw )
/* _NEW_POINT */
sf.sf6.point_rast_rule = 1; /* opengl conventions */
/* XXX clamp max depends on AA vs. non-AA */
- sf.sf7.point_size = CLAMP(brw->attribs.Point->Size, 1.0,
3
.0) * (1<<3);
+ sf.sf7.point_size = CLAMP(brw->attribs.Point->Size, 1.0,
255
.0) * (1<<3);
sf.sf7.use_point_size_state = !brw->attribs.Point->_Attenuated;
/* might be BRW_NEW_PRIMITIVE if we have to adjust pv for polygons: