Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPIR-V] Ray tracing incorrectly requires Vulkan 1.2 #2984

Closed
Jasper-Bekkers opened this issue Jun 18, 2020 · 1 comment
Closed

[SPIR-V] Ray tracing incorrectly requires Vulkan 1.2 #2984

Jasper-Bekkers opened this issue Jun 18, 2020 · 1 comment
Labels
spirv Work related to SPIR-V

Comments

@Jasper-Bekkers
Copy link

The compiler recently started outputting this incorrect error message:

error: Vulkan 1.2 is required for Raytracing but not permitted to use
note: please specify your target environment via command line option -fspv-target-env=

To my understanding, it's not Vulkan 1.2 that's required but instead Vulkan 1.1 with SPIR-V 1.4.

@ehsannas ehsannas added the spirv Work related to SPIR-V label Jul 14, 2020
@ehsannas
Copy link
Contributor

ehsannas commented Aug 4, 2020

I think if you are targeting Vulkan 1.1 and you want to use SPIRV 1.4, you'll need to have VK_KHR_spirv_1_4 extension. Given the complexities of supporting the matrix of target environments and the extensions, the change seems reasonable enough to me (unless there's a strong case for supporting Vulkan 1.1 with VK_KHR_spirv_1_4)

related: #2851

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spirv Work related to SPIR-V
Projects
None yet
Development

No branches or pull requests

2 participants