[Mesa-dev] [PATCH 5/7] mesa: add EXTRA_EXT for AMD_depth_clamp_separate

Marek Olšák maraeo at gmail.com
Wed Aug 22 04:30:47 UTC 2018


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek
On Tue, Aug 21, 2018 at 8:02 PM Sagar Ghuge <sagar.ghuge at intel.com> wrote:
>
> Signed-off-by: Sagar Ghuge <sagar.ghuge at intel.com>
> Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
>  src/mesa/main/get.c              | 1 +
>  src/mesa/main/get_hash_params.py | 5 +++++
>  2 files changed, 6 insertions(+)
>
> diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
> index 6b2e3637e6..92020e29a9 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 ae1fc6f062..2e1f4c007c 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" ],
>  ]},
>
>  ]
> --
> 2.17.1
>


More information about the mesa-dev mailing list