nouveau: Enable EXT_texture_env_dot3 on NV10 and NV20

Graphics / Mesa 3D Graphics Library / Mesa - Ian Romanick [intel.com] - 26 August 2016 17:03 UTC

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.

0115f35 nouveau: Enable EXT_texture_env_dot3 on NV10 and NV20
src/mesa/drivers/dri/nouveau/nv10_context.c | 1 +
src/mesa/drivers/dri/nouveau/nv10_state_frag.c | 16 +++++++++++++++-
src/mesa/drivers/dri/nouveau/nv20_context.c | 1 +
3 files changed, 17 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share