rust-gpu icon indicating copy to clipboard operation
rust-gpu copied to clipboard

When compiling for vulkan, the default capabilities for the vulkan version should be enabled

Open khyperia opened this issue 4 years ago • 1 comments

See the vulkan spec

For example, when compiling for vulkan1.0 or higher, OpCapability ImageQuery should be included by default.

khyperia avatar Aug 18 '21 07:08 khyperia

Better link: https://registry.khronos.org/vulkan/specs/1.3-extensions/html/chap50.html#spirvenv-capabilities.

There's similarly also extensions, like SPV_KHR_16bit_storage for 1.1, and SPV_KHR_8bit_storage for 1.2. (note that those don't imply anything by themselves, they just allow requesting certain new capabilities)

eddyb avatar Mar 29 '23 14:03 eddyb