st/mesa: expose EXT_disjoint_timer_query
authorMarek Olšák <marek.olsak@amd.com>
Mon, 6 Aug 2018 01:41:11 +0000 (21:41 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 24 Aug 2018 04:36:18 +0000 (00:36 -0400)
same cap as ARB_timer_query, no changes needed, tested by piglit

docs/relnotes/18.3.0.html
src/mesa/state_tracker/st_extensions.c

index 62fd93a83264b37b765d7f0a195fdafea9b37e24..6aeb8051dc12b01135309387b338e0ae68bc3beb 100644 (file)
@@ -55,6 +55,7 @@ Note: some of the new features are only available with certain drivers.
 <li>GL_AMD_gpu_shader_int64 on i965, nvc0, radeonsi.</li>
 <li>GL_AMD_multi_draw_indirect on all GL 4.x drivers.</li>
 <li>GL_AMD_query_buffer_object on i965, nvc0, r600, radeonsi.</li>
+<li>GL_EXT_disjoint_timer_query on radeonsi and most other Gallium drivers (ES extension)</li>
 <li>GL_EXT_vertex_attrib_64bit on i965, nvc0, radeonsi.</li>
 <li>GL_EXT_window_rectangles on radeonsi.</li>
 </ul>
index 8efd281eaad17b56ce2f7f8ac43d042d33516cd2..18997b1d1d180c577280a544c7aa1308b7598ec2 100644 (file)
@@ -709,6 +709,7 @@ void st_init_extensions(struct pipe_screen *screen,
 
       { o(EXT_blend_equation_separate),      PIPE_CAP_BLEND_EQUATION_SEPARATE          },
       { o(EXT_depth_bounds_test),            PIPE_CAP_DEPTH_BOUNDS_TEST                },
+      { o(EXT_disjoint_timer_query),         PIPE_CAP_QUERY_TIMESTAMP                  },
       { o(EXT_draw_buffers2),                PIPE_CAP_INDEP_BLEND_ENABLE               },
       { o(EXT_memory_object),                PIPE_CAP_MEMOBJ                           },
       { o(EXT_memory_object_fd),             PIPE_CAP_MEMOBJ                           },