summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2016-12-08 12:11:43 +0000
committerLionel Landwerlin <[email protected]>2016-12-13 16:27:59 +0000
commit60330d730bc82fb602fd27a189970c91a55f3920 (patch)
treee41347cf1c288daab8155048b5a3d9c7d2de7a4a /src
parentd4b753a50bfb474b13cdfc12ab3faf9058eb27ee (diff)
main: add INTEL_conservative_rasterization enum query support
v2: add extra parameter (Ilia) Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/get.c5
-rw-r--r--src/mesa/main/get_hash_params.py3
2 files changed, 8 insertions, 0 deletions
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": [