aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-12-08 17:01:42 -0800
committerMatt Turner <[email protected]>2013-01-10 10:57:51 -0800
commit914415a63f7a77dcd346cec114db58e225e20467 (patch)
treea5bf40b1cc2976858028a94eacbbd3ffc798b238 /src/mesa/main/get.c
parent3d0e4eb1347edd78a8524ad1320f0486367f826d (diff)
mesa: Allow glGet* queries on ARB_transform_feedback2 data in ES 3
Fixes the transform_feedback2_init_defaults test from es3conform. The ES 3 spec lists these as TRANSFORM_FEEDBACK_PAUSED and TRANSFORM_FEEDBACK_ACTIVE. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index bfa7d968ca1..91ba599513e 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -291,6 +291,12 @@ static const int extra_texture_buffer_object[] = {
EXTRA_END
};
+static const int extra_ARB_transform_feedback2_api_es3[] = {
+ EXT(ARB_transform_feedback2),
+ EXTRA_API_ES3,
+ EXTRA_END
+};
+
static const int extra_ARB_uniform_buffer_object_and_geometry_shader[] = {
EXT(ARB_uniform_buffer_object),
EXT(ARB_geometry_shader4),
@@ -323,7 +329,6 @@ EXTRA_EXT(ARB_seamless_cube_map);
EXTRA_EXT(ARB_sync);
EXTRA_EXT(ARB_vertex_shader);
EXTRA_EXT(EXT_transform_feedback);
-EXTRA_EXT(ARB_transform_feedback2);
EXTRA_EXT(ARB_transform_feedback3);
EXTRA_EXT(EXT_pixel_buffer_object);
EXTRA_EXT(ARB_vertex_program);