projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47bd9da
)
broadcom/vc5: Set the max texture LOD bias.
author
Eric Anholt
<eric@anholt.net>
Wed, 1 Nov 2017 22:29:58 +0000
(15:29 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 7 Nov 2017 17:40:24 +0000
(09:40 -0800)
The field is signed 8.8, so the usual 16.0f fits. Fixes piglit
gl-2.1-minmax.
src/gallium/drivers/vc5/vc5_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/vc5_screen.c
b/src/gallium/drivers/vc5/vc5_screen.c
index cef40e70399269fc9ebc55ba06d44b06d05dc920..031e982b0aa89f67647e3ef72744c32a70d5e35d 100644
(file)
--- a/
src/gallium/drivers/vc5/vc5_screen.c
+++ b/
src/gallium/drivers/vc5/vc5_screen.c
@@
-320,7
+320,7
@@
vc5_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param)
case PIPE_CAPF_MAX_TEXTURE_ANISOTROPY:
return 0.0f;
case PIPE_CAPF_MAX_TEXTURE_LOD_BIAS:
- return
0
.0f;
+ return
16
.0f;
case PIPE_CAPF_GUARD_BAND_LEFT:
case PIPE_CAPF_GUARD_BAND_TOP:
case PIPE_CAPF_GUARD_BAND_RIGHT: