From: Rob Clark Date: Wed, 1 Oct 2014 11:26:39 +0000 (-0400) Subject: freedreno: max-texture-lod-bias should be 15.0f X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=204dd73c99ffefc8ed854e032dcf7bf10b91e409;p=mesa.git freedreno: max-texture-lod-bias should be 15.0f Fixes piglit lodbias test. Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 428475ffe97..0f0a7472920 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -309,7 +309,7 @@ fd_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) case PIPE_CAPF_MAX_TEXTURE_ANISOTROPY: return 16.0f; case PIPE_CAPF_MAX_TEXTURE_LOD_BIAS: - return 16.0f; + return 15.0f; case PIPE_CAPF_GUARD_BAND_LEFT: case PIPE_CAPF_GUARD_BAND_TOP: case PIPE_CAPF_GUARD_BAND_RIGHT: