mesa: Avoid using the shine table for _tnl_RasterPos
authorMathias Fröhlich <Mathias.Froehlich@gmx.net>
Wed, 29 Feb 2012 17:19:34 +0000 (18:19 +0100)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Wed, 29 Feb 2012 19:37:16 +0000 (20:37 +0100)
commita1b1f8ff866f8ce48cfc83c9d9dd9f636d05d2a7
tree54f40a19744512ed30c7003cd9affbbd0a26cbec
parent703ada1e4586acbbde31d0ea1eb81c5ce1557ca7
mesa: Avoid using the shine table for _tnl_RasterPos

Use direct computation of pow for computing the shininess
in _tnl_RasterPos. Since the _tnl_RasterPos function is still
used by plenty drivers that do only need the shine table for
_tnl_RasterPos but do not make use of swtnl computations, this
enables pushing down the shine table computation and validation
into the tnl module, which will happen in a followup change.

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
src/mesa/tnl/t_rasterpos.c