CreateQuery under MacOS doesn't seem to work
I'm writing an application that should run on windws, linux and MacOS. For this I need exact time measurements of the renderengine here and there.
The code shown here in the screenshot returns a valid object under Linux and Windows, but none on MacOS. What can I do?
Vulkan implementation on MacOS does not support timestamp or duration queries. You can check the DurationQuery device feature to check the support.
Ok, I was able to understand in the diligent code that this is not supported under vulkan, is probably also due to the Molten substructure.
I think it should work under Gl, but I don't want to use it because it's marked as deprecated by Apple. What does the native metal support in diligent actually look like, is it neatly programmed and supports all technologies that are technically possible? Do the timestamp queries work there ? I know, this is not free and costs something, but is still an option for my project, if "everything" works there fine. I hope it's okay that I ask this in this thread.
Metal backend supports most of features available in Metal. It is used in production by a number of commercial applications. Timestamp queries, in particular, do work, but due to how they are implemented in Metal, you can only measure the duration of a render pass, e.g. the time of all commands that use the same render target. It is impossible to measure the duration of a single draw command due to how tiled rendering architectures work.
Sounds interesting in any case. What are the prices? Are there price lists somewhere that show what it costs per application sold, or what are the pricing terms in detail? Is there perhaps a test version that you can play around with to see if it does everything you need. Are there also tutorials that you can watch in the Metal context, or do the standard tutorials even work with the Metal backend? Unfortunately, I haven't been able to find anything that really explains it in detail. It would be very nice if you could give me a link that could help me further, or a contact person with whom I can "negotiate".
All tutorials and samples work with Metal backend. Can you send an email to [email protected]?
Thx for all the information, i will do that :-)
Queries are now enabled on Mac/Vulkan.
Fixed in bcbabaf9727830e1c4e2973641203dd5febc1804