main: add INTEL_conservative_rasterization enum query support
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 8 Dec 2016 12:11:43 +0000 (12:11 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 13 Dec 2016 16:27:59 +0000 (16:27 +0000)
v2: add extra parameter (Ilia)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/get.c
src/mesa/main/get_hash_params.py

index 5f5e76a4c4e9bd262d2b8be9028868d63e906393..ba02cb2837f2a3aca85a3b4c961cc5d3b4b859de 100644 (file)
@@ -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);
index bc80d94927436822fd14d98b858d065c0200b64c..17970f8ac424b712aa0c9711960285bba8be3a6a 100644 (file)
@@ -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": [