summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-09-02 22:54:25 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-09-15 00:58:47 -0700
commit3bcdc2e3db8fb9f8e04d3504b6f331b484ebcc96 (patch)
tree2d1b8ddc301dc742ddd33275732c37f150852725 /src/mesa/main/get.c
parent89a96c8f43370cc84adf92ab32e3de302a1fa1d0 (diff)
downloadexternal_mesa3d-3bcdc2e3db8fb9f8e04d3504b6f331b484ebcc96.zip
external_mesa3d-3bcdc2e3db8fb9f8e04d3504b6f331b484ebcc96.tar.gz
external_mesa3d-3bcdc2e3db8fb9f8e04d3504b6f331b484ebcc96.tar.bz2
mesa: Expose RESET_NOTIFICATION_STRATEGY with KHR_robustness.
This is supposed to be exposed with the GL_KHR_robustness extension, which we support on ES 2.0 and later. On desktop GL, it's also exposed by GL_ARB_robustness, which is supported by all drivers ("dummy_true"). so we also allow desktop GL. Fixes: - ES32-CTS.robust.robustness.noResetNotification - ES32-CTS.robust.robustness.loseContextOnReset Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 3cabb2b..e7ebc7f 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -423,6 +423,13 @@ static const int extra_ES32[] = {
EXTRA_END
};
+static const int extra_KHR_robustness_or_GL[] = {
+ EXT(KHR_robustness),
+ EXTRA_API_GL,
+ EXTRA_API_GL_CORE,
+ EXTRA_END
+};
+
EXTRA_EXT(ARB_texture_cube_map);
EXTRA_EXT(EXT_texture_array);
EXTRA_EXT(NV_fog_distance);