Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Vulkan, is it possible to have a device with no depthBounds feature?

The main question is in the title.

I got a strang bug with an Intel UHD 620 under Linux, vulkan API report there is no depthBounds feature.

It sound very strange, because this feature is required to perform depth testing.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Yes, depthBounds is an optional feature of Vulkan. Indeed, everything defined as a "feature" is optional. That’s what "features" are: parts of the API that are optional, that if you want to use you must first check for it and request it at device-creation time.

this feature is required to perform depth testing

No, it’s required to perform the depth bounds test. That’s different from a depth test.

The depth test tests an incoming fragment’s depth against a single value taken from the depth buffer. The depth bounds test tests an incoming fragment’s depth against two fixed depth values specified by the pipeline/dynamic state.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading