From: Sagar Ghuge Date: Fri, 27 Jul 2018 22:03:54 +0000 (-0700) Subject: mesa: add EXTRA_EXT for AMD_depth_clamp_separate X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2765749e0f2b72e53cd89e29dce365571279bfdf;p=mesa.git mesa: add EXTRA_EXT for AMD_depth_clamp_separate Signed-off-by: Sagar Ghuge Reviewed-by: Ian Romanick Reviewed-by: Marek Olšák --- diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 16625e92e25..1b1679e8bf7 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -468,6 +468,7 @@ EXTRA_EXT(NV_texture_rectangle); EXTRA_EXT(EXT_stencil_two_side); EXTRA_EXT(EXT_depth_bounds_test); EXTRA_EXT(ARB_depth_clamp); +EXTRA_EXT(AMD_depth_clamp_separate); EXTRA_EXT(ATI_fragment_shader); EXTRA_EXT(EXT_provoking_vertex); EXTRA_EXT(ARB_fragment_shader); diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 87ed4bfaeac..1840db6ebbc 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -989,6 +989,11 @@ descriptor=[ # GL_ARB_indirect_parameters [ "PARAMETER_BUFFER_BINDING_ARB", "LOC_CUSTOM, TYPE_INT, 0, extra_ARB_indirect_parameters" ], + +# GL 4.1 +# GL_AMD_depth_clamp_separate + [ "DEPTH_CLAMP_NEAR_AMD", "CONTEXT_BOOL(Transform.DepthClampNear), extra_AMD_depth_clamp_separate" ], + [ "DEPTH_CLAMP_FAR_AMD", "CONTEXT_BOOL(Transform.DepthClampFar), extra_AMD_depth_clamp_separate" ], ]}, ]