nv50: report max lod bias of 15.0
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 2 Feb 2020 00:48:07 +0000 (19:48 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 3 Feb 2020 03:01:18 +0000 (22:01 -0500)
commita4e627054167ff52742cf45b1aefccffb0de7071
tree4267367933cc843df52e4911e6587ff6f0874e13
parent0021f7dc307f4852955359adb5ac2b7667e6d4ac
nv50: report max lod bias of 15.0

The blob returns 15, the state creation code clamps it to 15, but since
the dawn of time we've returned 4.0. Setting this to 15 also fixes

GTF-GL33.gtf21.GL3Tests.texture_lod_bias.texture_lod_bias_clamp_m_le_M

which is sensitive to these limits.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_screen.c