From 60330d730bc82fb602fd27a189970c91a55f3920 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 8 Dec 2016 12:11:43 +0000 Subject: [PATCH] main: add INTEL_conservative_rasterization enum query support v2: add extra parameter (Ilia) Signed-off-by: Lionel Landwerlin Reviewed-by: Ilia Mirkin --- src/mesa/main/get.c | 5 +++++ src/mesa/main/get_hash_params.py | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 5f5e76a4c4e..ba02cb2837f 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -436,6 +436,11 @@ static const int extra_KHR_robustness_or_GL[] = { EXTRA_END }; +static const int extra_INTEL_conservative_rasterization[] = { + EXT(INTEL_conservative_rasterization), + EXTRA_END +}; + EXTRA_EXT(ARB_texture_cube_map); EXTRA_EXT(EXT_texture_array); EXTRA_EXT(NV_fog_distance); diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index bc80d949274..17970f8ac42 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -620,6 +620,9 @@ descriptor=[ [ "VIEWPORT_SUBPIXEL_BITS", "CONTEXT_INT(Const.ViewportSubpixelBits), extra_ARB_viewport_array_or_oes_viewport_array" ], [ "VIEWPORT_BOUNDS_RANGE", "CONTEXT_FLOAT2(Const.ViewportBounds), extra_ARB_viewport_array_or_oes_viewport_array" ], [ "VIEWPORT_INDEX_PROVOKING_VERTEX", "CONTEXT_ENUM(Const.LayerAndVPIndexProvokingVertex), extra_ARB_viewport_array_or_oes_viewport_array" ], + +# INTEL_conservative_rasterization + [ "CONSERVATIVE_RASTERIZATION_INTEL", "CONTEXT_BOOL(IntelConservativeRasterization), extra_INTEL_conservative_rasterization" ], ]}, { "apis": ["GL_CORE", "GLES32"], "params": [ -- 2.30.2