mesa: Enable ARB_texture_border_clamp in GL Core
authorSylvain Munaut <tnt@246tNt.com>
Sun, 13 Aug 2023 06:06:44 +0000 (08:06 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 15 Aug 2023 12:46:56 +0000 (12:46 +0000)
commit32675a304be6ab63f79b6d547ac20e6de3fcfb71
treed3a1a43142f3b3fba16ab2545c517fb1da480f19
parent714362b7dade5f2e4a7382d27c3c4b5a10315b60
mesa: Enable ARB_texture_border_clamp in GL Core

According to the GL3 spec, only the `CLAMP` mode was deprecated,
the `CLAMP_TO_EDGE` and `CLAMP_TO_BORDER_ARB` are not, so this
extension should be advertised.

As a side note, Davinci Resolve uses a Core profile and tests for
that extension so it fixes an issue with that app.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24660>
src/mesa/main/extensions_table.h