projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f2663
)
softpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0
author
Brian Paul
<brianp@vmware.com>
Mon, 8 Jun 2009 16:55:34 +0000
(10:55 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 8 Jun 2009 16:55:34 +0000
(10:55 -0600)
Note that this doesn't have any real significance since
PIPE_CAP_ANISOTROPIC_FILTER still returns 0.
src/gallium/drivers/softpipe/sp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_screen.c
b/src/gallium/drivers/softpipe/sp_screen.c
index ce6d8ebd12b369afc0119f6da0dff9cc4042e034..692deeb8fd36d8f7239421625467ef3ba7711caa 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_screen.c
+++ b/
src/gallium/drivers/softpipe/sp_screen.c
@@
-106,7
+106,7
@@
softpipe_get_paramf(struct pipe_screen *screen, int param)
case PIPE_CAP_MAX_POINT_WIDTH_AA:
return 255.0; /* arbitrary */
case PIPE_CAP_MAX_TEXTURE_ANISOTROPY:
- return
0.0;
+ return
16.0; /* not actually signficant at this time */
case PIPE_CAP_MAX_TEXTURE_LOD_BIAS:
return 16.0; /* arbitrary */
default: