mesa: add support for GL_AMD_depth_clamp_separate tokens
authorSagar Ghuge <sagar.ghuge@intel.com>
Tue, 21 Aug 2018 20:40:55 +0000 (13:40 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Tue, 28 Aug 2018 19:57:27 +0000 (12:57 -0700)
commit27704467401508770181e843e80b46c339b58b74
treee14b69b316abd4c6617c0a4bc08c830ac5083666
parent5650d3997851007a4e4268a4fa4bd698db41e7dc
mesa: add support for GL_AMD_depth_clamp_separate tokens

_mesa_set_enable() and _mesa_IsEnabled() extended to accept new two
tokens GL_DEPTH_CLAMP_NEAR_AMD and GL_DEPTH_CLAMP_FAR_AMD.

v2: Remove unnecessary parentheses (Marek Olsak)

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/enable.c