From 6d3a421c3c2cc69372cb7e38d90456c46f4ac9c5 Mon Sep 17 00:00:00 2001 From: Imbris <2002109+Imberflur@users.noreply.github.com> Date: Wed, 25 Feb 2026 04:48:36 -0800 Subject: [PATCH] Document OpenGL support for timestamp queries (#9112) --- wgpu-types/src/features.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wgpu-types/src/features.rs b/wgpu-types/src/features.rs index fedf82d19..d415aea38 100644 --- a/wgpu-types/src/features.rs +++ b/wgpu-types/src/features.rs @@ -647,12 +647,13 @@ bitflags_array! { /// Implies [`Features::TIMESTAMP_QUERY`] is supported. /// /// Additionally allows for timestamp writes on command encoders - /// using [`CommandEncoder::write_timestamp`]. + /// using [`CommandEncoder::write_timestamp`]. /// /// Supported platforms: /// - Vulkan /// - DX12 /// - Metal + /// - OpenGL (with GL_ARB_timer_query) /// /// This is a native only feature. /// @@ -670,6 +671,7 @@ bitflags_array! { /// - Vulkan /// - DX12 /// - Metal (AMD & Intel, not Apple GPUs) + /// - OpenGL (with GL_ARB_timer_query) /// /// This is generally not available on tile-based rasterization GPUs. /// @@ -1459,6 +1461,7 @@ bitflags_array! { /// - Vulkan /// - DX12 /// - Metal + /// - OpenGL (with GL_ARB_timer_query) /// - WebGPU /// /// This is a web and native feature.