From 411a72d4a2eb69e45701c5e19049f6c543a78f24 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Fri, 16 Sep 2016 13:38:36 -0400 Subject: mesa: add new entrypoints for GL_OES_viewport_array Signed-off-by: Ilia Mirkin Reviewed-by: Anuj Phogat --- src/mapi/glapi/gen/apiexec.py | 12 +++++------ src/mapi/glapi/gen/es_EXT.xml | 50 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 6 deletions(-) (limited to 'src/mapi') diff --git a/src/mapi/glapi/gen/apiexec.py b/src/mapi/glapi/gen/apiexec.py index b4f4cf6831b..4bdc95d68e2 100644 --- a/src/mapi/glapi/gen/apiexec.py +++ b/src/mapi/glapi/gen/apiexec.py @@ -133,12 +133,12 @@ functions = { # # Mesa does not support either of the geometry shader extensions, so # OpenGL 3.2 is required. - "ViewportArrayv": exec_info(core=32), - "ViewportIndexedf": exec_info(core=32), - "ViewportIndexedfv": exec_info(core=32), - "ScissorArrayv": exec_info(core=32), - "ScissorIndexed": exec_info(core=32), - "ScissorIndexedv": exec_info(core=32), + "ViewportArrayv": exec_info(core=32, es2=31), + "ViewportIndexedf": exec_info(core=32, es2=31), + "ViewportIndexedfv": exec_info(core=32, es2=31), + "ScissorArrayv": exec_info(core=32, es2=31), + "ScissorIndexed": exec_info(core=32, es2=31), + "ScissorIndexedv": exec_info(core=32, es2=31), "DepthRangeArrayv": exec_info(core=32), "DepthRangeIndexed": exec_info(core=32), # GetFloati_v also GL_ARB_shader_atomic_counters diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index 332dc5eb7bd..3e705eb4092 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -1342,4 +1342,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3