mesa: GL_TEXTURE_BORDER_COLOR exists in OpenGL 1.0, so don't depend on GL_ARB_texture...
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 7 Jun 2017 08:35:08 +0000 (01:35 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 28 Jun 2017 21:51:05 +0000 (14:51 -0700)
commit2e3f40272e7d8905969e7dd319a463097787fb57
treec6da8a1b75e2b4c808229a9f2df9038e5bdf46c1
parent36bd4a5f21f9e7060def6cf5501040b0509a2a00
mesa: GL_TEXTURE_BORDER_COLOR exists in OpenGL 1.0, so don't depend on GL_ARB_texture_border_clamp

On NV20 (and probably also on earlier NV GPUs that lack
GL_ARB_texture_border_clamp) fixes the following piglit tests:

    gl-1.0-beginend-coverage gltexparameter[if]{v,}
    push-pop-texture-state
    texwrap 1d
    texwrap 1d proj
    texwrap 2d proj
    texwrap formats

All told, 49 more tests pass on NV20 (10de:0201).

No changes on Intel CI run or RV250 (1002:4c66).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/texparam.c