svga: change PIPE_CAPF_MAX_TEXTURE_LOD_BIAS from 16.0 to 15.0
authorBrian Paul <brianp@vmware.com>
Tue, 17 Jan 2012 23:28:10 +0000 (16:28 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 18 Jan 2012 17:44:05 +0000 (10:44 -0700)
commita9eda41539bd63ed1835556ad3afc77ee01f6a6a
treebd9fdaabb5e7f9b260f2ba55943766c3fb7da222
parentfd890873b20de553078fc96d977fbd858238c7d9
svga: change PIPE_CAPF_MAX_TEXTURE_LOD_BIAS from 16.0 to 15.0

The legal range for the device is apparently [-16.0, +15.0].
Limiting the range to [-15, +15] fixes piglit's lodbias test.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_screen.c