blob: 3330d01ad0dd0dcfa5be1295400792c44fa316e4 [file] [log] [blame]
Brian Paul9b0bbe12009-12-30 10:39:20 -07001
2Status of OpenGL 3.x features in Mesa
3
4
5Note: when an item is marked as "DONE" it means all the core Mesa
6infrastructure is complete but it may be the case that few (if any) drivers
7implement the features.
8
9
Marek Olšákc40f8d02013-07-30 22:29:11 +020010OpenGL Core and Compatibility context support
11
12OpenGL 3.1 and later versions are only supported with the Core profile.
13There are no plans to support GL_ARB_compatibility. The last supported OpenGL
14version with all deprecated features is 3.0. Some of the later GL features
15are exposed in the 3.0 context as extensions.
16
17
Brian Paul9b0bbe12009-12-30 10:39:20 -070018Feature Status
19----------------------------------------------------- ------------------------
20
Matt Turnerb6ab52b2014-08-06 21:11:50 -070021GL 3.0, GLSL 1.30 --- all DONE: i965, nv50, nvc0, r600, radeonsi
Brian Paul9b0bbe12009-12-30 10:39:20 -070022
Joerg Mayerf9868922013-11-16 22:13:03 +000023 glBindFragDataLocation, glGetFragDataLocation DONE
24 Conditional rendering (GL_NV_conditional_render) DONE (r300, swrast)
25 Map buffer subranges (GL_ARB_map_buffer_range) DONE (r300, swrast)
26 Clamping controls (GL_ARB_color_buffer_float) DONE (r300)
27 Float textures, renderbuffers (GL_ARB_texture_float) DONE (r300)
28 GL_EXT_packed_float DONE ()
29 GL_EXT_texture_shared_exponent DONE (swrast)
30 Float depth buffers (GL_ARB_depth_buffer_float) DONE ()
31 Framebuffer objects (GL_ARB_framebuffer_object) DONE (r300, swrast)
Ian Romanick1edca152014-01-13 15:23:48 -080032 GL_ARB_half_float_pixel DONE (all drivers)
Marek Olšák0ad57be2013-12-04 00:25:55 +010033 GL_ARB_half_float_vertex DONE (r300, swrast)
34 GL_EXT_texture_integer DONE ()
35 GL_EXT_texture_array DONE ()
Joerg Mayerf9868922013-11-16 22:13:03 +000036 Per-buffer blend and masks (GL_EXT_draw_buffers2) DONE (swrast)
37 GL_EXT_texture_compression_rgtc DONE (r300, swrast)
Marek Olšák0ad57be2013-12-04 00:25:55 +010038 GL_ARB_texture_rg DONE (r300, swrast)
Joerg Mayerf9868922013-11-16 22:13:03 +000039 Transform feedback (GL_EXT_transform_feedback) DONE ()
Marek Olšák0ad57be2013-12-04 00:25:55 +010040 Vertex array objects (GL_ARB_vertex_array_object) DONE (all drivers)
Joerg Mayerf9868922013-11-16 22:13:03 +000041 sRGB framebuffer format (GL_EXT_framebuffer_sRGB) DONE ()
42 glClearBuffer commands DONE
43 glGetStringi command DONE
44 glTexParameterI, glGetTexParameterI commands DONE
45 glVertexAttribI commands DONE
46 Depth format cube textures DONE ()
47 GLX_ARB_create_context (GLX 1.4 is required) DONE
Marek Olšák0ad57be2013-12-04 00:25:55 +010048 Multisample anti-aliasing DONE (r300)
Brian Paul9b0bbe12009-12-30 10:39:20 -070049
50
Matt Turnerb6ab52b2014-08-06 21:11:50 -070051GL 3.1, GLSL 1.40 --- all DONE: i965, nv50, nvc0, r600, radeonsi
Brian Paul9b0bbe12009-12-30 10:39:20 -070052
Joerg Mayerf9868922013-11-16 22:13:03 +000053 Forward compatible context support/deprecations DONE ()
54 Instanced drawing (GL_ARB_draw_instanced) DONE (swrast)
55 Buffer copying (GL_ARB_copy_buffer) DONE (r300, swrast)
Ian Romanickbc0ed682014-01-13 14:48:16 -080056 Primitive restart (GL_NV_primitive_restart) DONE (r300)
Joerg Mayerf9868922013-11-16 22:13:03 +000057 16 vertex texture image units DONE ()
58 Texture buffer objs (GL_ARB_texture_buffer_object) DONE for OpenGL 3.1 contexts ()
59 Rectangular textures (GL_ARB_texture_rectangle) DONE (r300, swrast)
60 Uniform buffer objs (GL_ARB_uniform_buffer_object) DONE (swrast)
61 Signed normalized textures (GL_EXT_texture_snorm) DONE (r300)
Brian Paul9b0bbe12009-12-30 10:39:20 -070062
63
Matt Turnerb6ab52b2014-08-06 21:11:50 -070064GL 3.2, GLSL 1.50 --- all DONE: i965, nv50, nvc0, r600, radeonsi
Brian Paul9b0bbe12009-12-30 10:39:20 -070065
Joerg Mayerf9868922013-11-16 22:13:03 +000066 Core/compatibility profiles DONE
Joerg Mayerf9868922013-11-16 22:13:03 +000067 Geometry shaders DONE ()
Dave Airlie16215a92014-02-05 07:52:48 +100068 BGRA vertex order (GL_ARB_vertex_array_bgra) DONE (r300, swrast)
69 Base vertex offset(GL_ARB_draw_elements_base_vertex) DONE (r300, swrast)
70 Frag shader coord (GL_ARB_fragment_coord_conventions) DONE (r300, swrast)
71 Provoking vertex (GL_ARB_provoking_vertex) DONE (r300, swrast)
72 Seamless cubemaps (GL_ARB_seamless_cube_map) DONE ()
73 Multisample textures (GL_ARB_texture_multisample) DONE ()
74 Frag depth clamp (GL_ARB_depth_clamp) DONE (swrast)
75 Fence objects (GL_ARB_sync) DONE (r300, swrast)
Joerg Mayerf9868922013-11-16 22:13:03 +000076 GLX_ARB_create_context_profile DONE
Brian Paul9b0bbe12009-12-30 10:39:20 -070077
78
Matt Turnerb6ab52b2014-08-06 21:11:50 -070079GL 3.3, GLSL 3.30 --- all DONE: i965, nv50, nvc0, r600, radeonsi
Brian Pauld35c2ca2010-05-11 21:03:53 -060080
Dave Airlie16215a92014-02-05 07:52:48 +100081 GL_ARB_blend_func_extended DONE (softpipe)
Ian Romanickbc0ed682014-01-13 14:48:16 -080082 GL_ARB_explicit_attrib_location DONE (all drivers that support GLSL)
Dave Airlie16215a92014-02-05 07:52:48 +100083 GL_ARB_occlusion_query2 DONE (r300, swrast)
Ian Romanickbc0ed682014-01-13 14:48:16 -080084 GL_ARB_sampler_objects DONE (all drivers)
Dave Airlie16215a92014-02-05 07:52:48 +100085 GL_ARB_shader_bit_encoding DONE ()
86 GL_ARB_texture_rgb10_a2ui DONE ()
87 GL_ARB_texture_swizzle DONE (r300, swrast)
88 GL_ARB_timer_query DONE ()
89 GL_ARB_instanced_arrays DONE (r300)
90 GL_ARB_vertex_type_2_10_10_10_rev DONE ()
Brian Pauld35c2ca2010-05-11 21:03:53 -060091
92
Matt Turnerb6ab52b2014-08-06 21:11:50 -070093GL 4.0, GLSL 4.00:
Brian Pauld35c2ca2010-05-11 21:03:53 -060094
Ilia Mirkin35186062014-01-21 00:26:14 -050095 GL_ARB_draw_buffers_blend DONE (i965, nv50, nvc0, r600, radeonsi, softpipe)
Marek Olšák2a7b57a2014-04-24 03:03:43 +020096 GL_ARB_draw_indirect DONE (i965, nvc0, radeonsi, softpipe, llvmpipe)
Joerg Mayerf9868922013-11-16 22:13:03 +000097 GL_ARB_gpu_shader5 started
Chris Forbes9578bb22014-04-27 16:03:57 +120098 - 'precise' qualifier DONE
Chris Forbesed663122014-06-27 22:13:21 +120099 - Dynamically uniform sampler array indices started (Chris)
100 - Dynamically uniform UBO array indices started (Chris)
Chris Forbes4312e972014-06-04 19:31:30 +1200101 - Implicit signed -> unsigned conversions DONE
Ilia Mirkine1432482014-07-01 10:27:38 -0400102 - Fused multiply-add DONE (i965, nvc0)
Glenn Kennard2768a562014-07-23 11:36:36 +0200103 - Packing/bitfield/conversion functions DONE (i965, nvc0, r600)
Glenn Kennard3a9278b2014-07-20 15:59:16 +0200104 - Enhanced textureGather DONE (i965, nvc0, r600, radeonsi)
Ilia Mirkine1432482014-07-01 10:27:38 -0400105 - Geometry shader instancing DONE (i965, nvc0)
Ilia Mirkin5e045262014-06-15 16:39:14 -0400106 - Geometry shader multiple streams DONE (i965, nvc0)
Glenn Kennardb1eb00c2014-07-23 11:57:55 +0200107 - Enhanced per-sample shading DONE (i965, r600)
Chris Forbes1e4068c2014-07-13 10:04:25 +1200108 - Interpolation functions DONE (i965)
Chris Forbes7bf768b2014-06-04 20:12:58 +1200109 - New overload resolution rules DONE
Chris Forbesed663122014-06-27 22:13:21 +1200110 GL_ARB_gpu_shader_fp64 started (Dave)
Marek Olšákf98a7d82014-05-07 13:15:41 +0200111 GL_ARB_sample_shading DONE (i965, nv50, nvc0, radeonsi)
Joerg Mayerf9868922013-11-16 22:13:03 +0000112 GL_ARB_shader_subroutine not started
Chris Forbesed663122014-06-27 22:13:21 +1200113 GL_ARB_tessellation_shader started (Fabian)
Ilia Mirkin734fe2d2014-02-26 23:35:14 -0500114 GL_ARB_texture_buffer_object_rgb32 DONE (i965, nvc0, r600, radeonsi, softpipe)
Marek Olšák2484daa2014-04-22 21:23:29 +0200115 GL_ARB_texture_cube_map_array DONE (i965, nv50, nvc0, r600, radeonsi, softpipe)
Glenn Kennard3a9278b2014-07-20 15:59:16 +0200116 GL_ARB_texture_gather DONE (i965, nv50, nvc0, r600, radeonsi)
Glenn Kennarda48b6152014-07-23 10:48:17 +0200117 GL_ARB_texture_query_lod DONE (i965, nv50, nvc0, r600, radeonsi)
Ilia Mirkin35186062014-01-21 00:26:14 -0500118 GL_ARB_transform_feedback2 DONE (i965, nv50, nvc0, r600, radeonsi)
119 GL_ARB_transform_feedback3 DONE (i965, nv50, nvc0, r600, radeonsi)
Marek Olšák2892c8b2010-11-21 22:54:33 +0100120
121
Matt Turnerb6ab52b2014-08-06 21:11:50 -0700122GL 4.1, GLSL 4.10:
Marek Olšák2892c8b2010-11-21 22:54:33 +0100123
Ilia Mirkin35186062014-01-21 00:26:14 -0500124 GL_ARB_ES2_compatibility DONE (i965, nv50, nvc0, r300, r600, radeonsi)
Joerg Mayerf9868922013-11-16 22:13:03 +0000125 GL_ARB_get_program_binary DONE (0 binary formats)
Ian Romanicka06c9792014-05-02 17:19:48 -0700126 GL_ARB_separate_shader_objects DONE (all drivers)
Chris Forbesed663122014-06-27 22:13:21 +1200127 GL_ARB_shader_precision started (Micah)
Joerg Mayerf9868922013-11-16 22:13:03 +0000128 GL_ARB_vertex_attrib_64bit not started
Tobias Klausmanncd01e162014-06-15 21:24:05 +0200129 GL_ARB_viewport_array DONE (i965, nv50, nvc0, r600)
Brian Pauld35c2ca2010-05-11 21:03:53 -0600130
131
Matt Turnerb6ab52b2014-08-06 21:11:50 -0700132GL 4.2, GLSL 4.20:
Marek Olšák768589e2012-07-05 20:27:28 +0200133
Neil Robertsab66b192014-07-23 11:25:31 +0100134 GL_ARB_texture_compression_bptc DONE (i965)
Chris Forbesbe1b5722014-06-02 16:44:40 +1200135 GL_ARB_compressed_texture_pixel_storage DONE (all drivers)
Joerg Mayerf9868922013-11-16 22:13:03 +0000136 GL_ARB_shader_atomic_counters DONE (i965)
137 GL_ARB_texture_storage DONE (all drivers)
Ilia Mirkin35186062014-01-21 00:26:14 -0500138 GL_ARB_transform_feedback_instanced DONE (i965, nv50, nvc0, r600, radeonsi)
Joerg Mayerf9868922013-11-16 22:13:03 +0000139 GL_ARB_base_instance DONE (i965, nv50, nvc0, r600, radeonsi)
Francisco Jerez83db4a32013-11-24 16:24:32 -0800140 GL_ARB_shader_image_load_store in progress (curro)
Joerg Mayerf9868922013-11-16 22:13:03 +0000141 GL_ARB_conservative_depth DONE (all drivers that support GLSL 1.30)
142 GL_ARB_shading_language_420pack DONE (all drivers that support GLSL 1.30)
Ilia Mirkin35186062014-01-21 00:26:14 -0500143 GL_ARB_internalformat_query DONE (i965, nv50, nvc0, r300, r600, radeonsi)
Ian Romanickca385bf2014-01-22 16:17:48 -0800144 GL_ARB_map_buffer_alignment DONE (all drivers)
Brian Pauld35c2ca2010-05-11 21:03:53 -0600145
Brian Paul90894362010-01-05 16:03:11 -0700146
Matt Turnerb6ab52b2014-08-06 21:11:50 -0700147GL 4.3, GLSL 4.30:
Jason Wood56c1f552012-08-06 13:47:27 -0600148
Chris Forbesed663122014-06-27 22:13:21 +1200149 GL_ARB_arrays_of_arrays started (Timothy)
Marek Olšák3d567322014-08-02 22:32:25 +0200150 GL_ARB_ES3_compatibility DONE (all drivers that support GLSL 3.30)
Ian Romanickbc0ed682014-01-13 14:48:16 -0800151 GL_ARB_clear_buffer_object DONE (all drivers)
Dave Airlie2c947762014-07-23 11:06:15 +1000152 GL_ARB_compute_shader started (currently stalled)
Jason Ekstrand34ee3f52014-08-04 15:17:15 -0700153 GL_ARB_copy_image DONE (i965)
Joerg Mayerf9868922013-11-16 22:13:03 +0000154 GL_KHR_debug DONE (all drivers)
Tapani Pälli5cb8fdb2014-03-24 11:29:08 +0200155 GL_ARB_explicit_uniform_location DONE (all drivers that support GLSL)
Ilia Mirkin6c544e52014-06-23 09:32:59 -0400156 GL_ARB_fragment_layer_viewport DONE (nv50, nvc0, r600)
Joerg Mayerf9868922013-11-16 22:13:03 +0000157 GL_ARB_framebuffer_no_attachments not started
158 GL_ARB_internalformat_query2 not started
159 GL_ARB_invalidate_subdata DONE (all drivers)
Marek Olšák2a7b57a2014-04-24 03:03:43 +0200160 GL_ARB_multi_draw_indirect DONE (i965, nvc0, radeonsi, softpipe, llvmpipe)
Joerg Mayerf9868922013-11-16 22:13:03 +0000161 GL_ARB_program_interface_query not started
162 GL_ARB_robust_buffer_access_behavior not started
163 GL_ARB_shader_image_size not started
164 GL_ARB_shader_storage_buffer_object not started
Ilia Mirkin5cfd45f2014-05-04 20:16:44 -0400165 GL_ARB_stencil_texturing DONE (i965/gen8+, nv50, nvc0, r600, radeonsi)
Joerg Mayerf9868922013-11-16 22:13:03 +0000166 GL_ARB_texture_buffer_range DONE (nv50, nvc0, i965, r600, radeonsi)
Marek Olšák1df71992014-06-14 03:19:26 +0200167 GL_ARB_texture_query_levels DONE (all drivers that support GLSL 1.30)
Joerg Mayerf9868922013-11-16 22:13:03 +0000168 GL_ARB_texture_storage_multisample DONE (all drivers that support GL_ARB_texture_multisample)
Chris Forbes0d653b92014-02-15 16:27:58 +1300169 GL_ARB_texture_view DONE (i965)
Joerg Mayerf9868922013-11-16 22:13:03 +0000170 GL_ARB_vertex_attrib_binding DONE (all drivers)
Jason Wood56c1f552012-08-06 13:47:27 -0600171
172
Matt Turnerb6ab52b2014-08-06 21:11:50 -0700173GL 4.4, GLSL 4.40:
Chris Forbes5a7bdd42013-07-23 09:17:47 +1200174
Joerg Mayerf9868922013-11-16 22:13:03 +0000175 GL_MAX_VERTEX_ATTRIB_STRIDE not started
Ilia Mirkincf6c9db2014-04-30 22:08:33 -0400176 GL_ARB_buffer_storage DONE (i965, nv30, nv50, nvc0, r300, r600, radeonsi)
Neil Robertsc6398a32014-07-23 12:10:37 +0100177 GL_ARB_clear_texture DONE (i965)
Joerg Mayerf9868922013-11-16 22:13:03 +0000178 GL_ARB_enhanced_layouts not started
Fredrik Höglunde6ff5572013-11-18 18:53:23 +0100179 GL_ARB_multi_bind DONE (all drivers)
Joerg Mayerf9868922013-11-16 22:13:03 +0000180 GL_ARB_query_buffer_object not started
181 GL_ARB_texture_mirror_clamp_to_edge DONE (i965, nv30, nv50, nvc0, r300, r600, radeonsi, swrast)
182 GL_ARB_texture_stencil8 not started
Marek Olšák7920adb2014-04-18 16:16:44 +0200183 GL_ARB_vertex_type_10f_11f_11f_rev DONE (i965, nv50, nvc0, r600, radeonsi)
Chris Forbes5a7bdd42013-07-23 09:17:47 +1200184
185
Ilia Mirkin82903ac2014-08-11 15:07:09 -0400186GL 4.5, GLSL 4.50:
187
188 GL_ARB_ES3_1_compatibility not started
189 GL_ARB_clip_control not started
190 GL_ARB_conditional_render_inverted not started
191 GL_ARB_cull_distance not started
192 GL_ARB_derivative_control not started
193 GL_ARB_direct_state_access not started
194 GL_ARB_get_texture_sub_image started (Brian Paul)
195 GL_ARB_shader_texture_image_samples not started
196 GL_ARB_texture_barrier started (Ilia Mirkin)
197 GL_KHR_context_flush_control not started
198 GL_KHR_robust_buffer_access_behavior not started
199 GL_KHR_robustness 90% done (the ARB variant)
200
201
Brian Paul90894362010-01-05 16:03:11 -0700202More info about these features and the work involved can be found at
203http://dri.freedesktop.org/wiki/MissingFunctionality