wgpu-profiler icon indicating copy to clipboard operation
wgpu-profiler copied to clipboard

Work gracefully with downlevel NONBLOCKING_QUERY_RESOLVE

Open Wumpf opened this issue 2 years ago • 3 comments

https://docs.rs/wgpu/latest/wgpu/struct.DownlevelFlags.html#associatedconstant.NONBLOCKING_QUERY_RESOLVE

As of writing it's only on Desktop GL < 4.2

Not exactly sure what we need to do here exactly, but at the very least it should be tried out and documented how to work with it!

Wumpf avatar Oct 26 '23 07:10 Wumpf

only on Desktop GL < 4.2

I'm a bit curious about this since the wgpu docs only say 4.4+, is it that AMD_query_buffer_object could be available on 4.2?

Imberflur avatar Oct 26 '23 16:10 Imberflur

oh interesting. I actually just blindly quoted what @cwfitzgerald wrote on wgpu chat 😄

Wumpf avatar Oct 28 '23 07:10 Wumpf

Then it's probably 4.4 :)

Notably once gles gets support for timestamp queries, it will also have not have this downlevel feature

cwfitzgerald avatar Oct 28 '23 17:10 cwfitzgerald