freedreno: max-texture-lod-bias should be 15.0f
authorRob Clark <robclark@freedesktop.org>
Wed, 1 Oct 2014 11:26:39 +0000 (07:26 -0400)
committerRob Clark <robclark@freedesktop.org>
Wed, 1 Oct 2014 11:28:06 +0000 (07:28 -0400)
Fixes piglit lodbias test.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_screen.c

index 428475ffe97f69cd05d479ffa50a6be23b62cba2..0f0a74729200e211008e5387f51c699afef052aa 100644 (file)
@@ -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: