projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
657b88f
)
nvfx: report correct max lodbias
author
Luca Barbieri
<luca@luca-barbieri.com>
Fri, 3 Sep 2010 18:54:48 +0000
(20:54 +0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Fri, 3 Sep 2010 18:54:48 +0000
(20:54 +0200)
Fixes piglit lodbias
src/gallium/drivers/nvfx/nvfx_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvfx/nvfx_screen.c
b/src/gallium/drivers/nvfx/nvfx_screen.c
index 15a0d7687beba55859b6414957eff5a1d96503f7..e6ba7bc87a055af8160fab74cbba407966839fd5 100644
(file)
--- a/
src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/
src/gallium/drivers/nvfx/nvfx_screen.c
@@
-143,7
+143,7
@@
nvfx_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_MAX_TEXTURE_ANISOTROPY:
return screen->is_nv4x ? 16.0 : 8.0;
case PIPE_CAP_MAX_TEXTURE_LOD_BIAS:
- return
screen->is_nv4x ? 16.0 : 4
.0;
+ return
15
.0;
default:
NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
return 0.0;