nouveau: Enable EXT_texture_env_dot3 on NV10 and NV20
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 18 Aug 2016 10:02:15 +0000 (11:02 +0100)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Aug 2016 22:03:14 +0000 (15:03 -0700)
commit0115f356eec22b30a78847ac47caebae4c436b68
tree2eec5a7422799f5c616678aa16249cdeb9bc54a0
parenta7d92c3c0b0df1a5e8be3f8208868828043ab630
nouveau: Enable EXT_texture_env_dot3 on NV10 and NV20

GL_DOT3_RGB_EXT and GL_DOT3_RGBA_EXT. are nearly identical to
GL_DOT3_RGB and GL_DOT3_RGBA.  The only difference is the _EXT
versions do not apply the post-scale.  Just smash logscale to 0 so
that RC_OUT_SCALE_1 is always used.

NOTE: I have not actually tested this.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/drivers/dri/nouveau/nv10_context.c
src/mesa/drivers/dri/nouveau/nv10_state_frag.c
src/mesa/drivers/dri/nouveau/nv20_context.c