diff options
author | Marek Olšák <[email protected]> | 2017-10-19 22:22:15 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-11-09 23:55:31 +0100 |
commit | 272fe9494232baab159d10901aecfe1786595b17 (patch) | |
tree | e0c74c9a1fdda143b1ea8cc4adb952e5379b34c2 /src/mapi/glapi | |
parent | d4ebdc1a544351e24b81922f617401d292bf7f58 (diff) |
mesa: enable ARB_texture_buffer_* extensions in the Compatibility profile
We already have piglit tests testing alpha, luminance, and intensity
formats. They were skipped by piglit until now.
Additionally, I'm enabling one ARB_texture_buffer_range piglit test to run
with the compat profile.
i965 behavior is unchanged except that it doesn't expose TBOs in the Compat
profile. Not sure how that affects the GL version override.
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r-- | src/mapi/glapi/gen/apiexec.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mapi/glapi/gen/apiexec.py b/src/mapi/glapi/gen/apiexec.py index 61eda4b0f98..7da0818f8ab 100644 --- a/src/mapi/glapi/gen/apiexec.py +++ b/src/mapi/glapi/gen/apiexec.py @@ -35,7 +35,7 @@ class exec_info(): Each of the attributes that is not None must have a valid value. The valid ranges are: - compatiblity: [10, 30] + compatibility: [10, ) core: [31, ) es1: [10, 11] es2: [20, ) @@ -66,9 +66,8 @@ class exec_info(): self.es2 = es2 functions = { - # OpenGL 3.1 / GL_ARB_texture_buffer_object. Mesa only exposes this - # extension with core profile. - "TexBuffer": exec_info(core=31, es2=31), + # OpenGL 3.1 / GL_ARB_texture_buffer_object. + "TexBuffer": exec_info(compatibility=20, core=31, es2=31), # OpenGL 3.2 / GL_OES_geometry_shader. "FramebufferTexture": exec_info(core=32, es2=31), @@ -144,9 +143,8 @@ functions = { # GetFloati_v also GL_ARB_shader_atomic_counters # GetDoublei_v also GL_ARB_shader_atomic_counters - # OpenGL 4.3 / GL_ARB_texture_buffer_range. Mesa can expose the extension - # with OpenGL 3.1. - "TexBufferRange": exec_info(core=31, es2=31), + # OpenGL 4.3 / GL_ARB_texture_buffer_range. + "TexBufferRange": exec_info(compatibility=20, core=31, es2=31), # OpenGL 4.3 / GL_ARB_framebuffer_no_attachments. Mesa can expose the # extension with OpenGL 3.0. |