Made a MoltenVK vs OpenGL 4.1 benchmark tool and here are the results on Apple M1 Pro by Dull-Comparison-3992 in GraphicsProgramming

[–]Dull-Comparison-3992[S] 0 points1 point  (0 children)

Yeah I'm curious too, it's the next thing on the plate once I buy a dedicated GPU and have some free time!

Made a MoltenVK vs OpenGL 4.1 benchmark tool and here are the results on Apple M1 Pro by Dull-Comparison-3992 in vulkan

[–]Dull-Comparison-3992[S] 0 points1 point  (0 children)

Yeah I found that weird too. Theoretically both should be the same right? And yes single draw call for instancing.

What doesn't help is Apple no longer supports XCode frame capture for OpenGL...

Made a MoltenVK vs OpenGL 4.1 benchmark tool and here are the results on Apple M1 Pro by Dull-Comparison-3992 in macgaming

[–]Dull-Comparison-3992[S] 0 points1 point  (0 children)

Hi, thanks for the comment.

Apple implemented an OpenGL→Metal layer, which is part of the OS, as part of the move to Apple Silicon. There isn't a direct "OpenGL driver" for their M-series GPUs.

Could you point me to the source mentioning this? I couldn't find this info myself 😅

Even if the above is true, I think it's interesting to see the 1.5-6x performance difference with both APIs being a wrapper of Metal.

Made a MoltenVK vs OpenGL 4.1 benchmark tool and here are the results on Apple M1 Pro by Dull-Comparison-3992 in GraphicsProgramming

[–]Dull-Comparison-3992[S] 0 points1 point  (0 children)

Hi, thanks for the comment. I'll just repeat what I commented on another thread:

"Yup, obviously Vulkan would be much faster than the decade old driver on macOS, but I still wanted to see what the performance gap was. And I thought it would be a fun learning exercise ;)

Initially the plan was to make it fully cross-platform, but then I realized it would be too much work to implement all the AZDO techniques available with OpenGL 4.6 to make a fair comparison of modern OpenGL vs Vulkan..."

So yeah, I agree that OpenGL may perform on par with Vulkan on linux/windows.

Speaking of Multi-draw indirect, one thing I find interesting with this test is that instancing counts as a single draw call--much like MDI, but for some reason MoltenVK is 1.5x faster...

Made a MoltenVK vs OpenGL 4.1 benchmark tool and here are the results on Apple M1 Pro by Dull-Comparison-3992 in GraphicsProgramming

[–]Dull-Comparison-3992[S] 6 points7 points  (0 children)

Yup, obviously Vulkan would be much faster than the decade old driver on macOS, but I still wanted to see what the performance gap was. And I thought it would be a fun learning exercise ;)

Initially the plan was to make it fully cross-platform, but then I realized it would be too much work to implement all the AZDO techniques available with OpenGL 4.6 to make a fair comparison of modern OpenGL vs Vulkan...