Wgpu-rs: Advantage of using MoltenVK over Metal

Created on 2 Jul 2020  路  1Comment  路  Source: gfx-rs/wgpu-rs

I was asked about the advantage of using features = ["vulkan"] on MacOS, and I didn't know the answer.

https://github.com/sotrh/learn-wgpu/issues/62

I felt I should come here to get more details.

question

Most helpful comment

"vulkan" is not for MoltenVK specifically, it's for Vulkan Portability. For example, it can be used with gfx-portability.

Regardless of the backing, it's not intended for shipping. The main reason this is exposed is to be able to get the Vulkan validation layers output. If the developer doesn't have access to Linux or Windows machines, and for some reason wgpu-rs validation doesn't catch a problem, it's helpful to see what Vulkan validation has to say.

>All comments

"vulkan" is not for MoltenVK specifically, it's for Vulkan Portability. For example, it can be used with gfx-portability.

Regardless of the backing, it's not intended for shipping. The main reason this is exposed is to be able to get the Vulkan validation layers output. If the developer doesn't have access to Linux or Windows machines, and for some reason wgpu-rs validation doesn't catch a problem, it's helpful to see what Vulkan validation has to say.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gzp-crey picture gzp-crey  路  3Comments

OptimisticPeach picture OptimisticPeach  路  3Comments

kvark picture kvark  路  3Comments

sagacity picture sagacity  路  3Comments

Lokathor picture Lokathor  路  3Comments