summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-11-01 15:29:58 -0700
committerEric Anholt <[email protected]>2017-11-07 09:40:24 -0800
commitf1797928fd7333c193b26d11e25b9b58d8116ec8 (patch)
tree2284c0f0afbf1a530e812e2ecf7254d3955387ab /src
parent47bd9dac197ab47313cfb48a60f7a9e3a2ac3877 (diff)
broadcom/vc5: Set the max texture LOD bias.
The field is signed 8.8, so the usual 16.0f fits. Fixes piglit gl-2.1-minmax.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/vc5/vc5_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_screen.c b/src/gallium/drivers/vc5/vc5_screen.c
index cef40e70399..031e982b0aa 100644
--- 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: