projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4866f8
)
replace nearbyint() by rint() for now.
author
Matthieu Herrb
<matthieu.herrb@laas.fr>
Sun, 14 Sep 2008 18:58:29 +0000
(20:58 +0200)
committer
Brian
<brianp@vmware.com>
Sun, 11 Jan 2009 23:44:50 +0000
(16:44 -0700)
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 506126fcfb02da4af29f1e65a7d30619c7b9eaf1..741a7c53c47cbbf665165b60996a1c62a62b48cf 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_sf_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_sf_state.c
@@
-229,7
+229,7
@@
sf_unit_create_from_key(struct brw_context *brw, struct brw_sf_unit_key *key,
/* XXX clamp max depends on AA vs. non-AA */
sf.sf7.sprite_point = key->point_sprite;
- sf.sf7.point_size = CLAMP(
nearby
int(key->point_size), 1, 255) * (1<<3);
+ sf.sf7.point_size = CLAMP(
r
int(key->point_size), 1, 255) * (1<<3);
sf.sf7.use_point_size_state = !key->point_attenuated;
sf.sf7.aa_line_distance_mode = 0;