Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
主要问题在标题中。
我在 Linux 下使用 Intel UHD 620 遇到了一个奇怪的错误,vulkan API 报告没有 depthBounds 功能。
听起来很奇怪,因为执行深度测试需要此功能。
是的,depthBounds是 Vulkan 的一个可选功能。事实上,所有定义为“功能”的东西都是可选的。这就是“功能”的含义: API 的一部分是可选的,如果你想使用它,你必须首先检查它并在设备创建时请求它。
depthBounds
此功能是执行深度测试所必需的
不,它需要执行深度边界测试。这与深度测试不同。
深度测试根据从深度缓冲区获取的单个值测试传入片段的深度。深度边界测试根据管道/动态状态指定的两个固定深度值测试传入片段的深度。