-
Notifications
You must be signed in to change notification settings - Fork 2
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
Supporting Vulkan 1.1 #2
Comments
Yes, you are right. I recalled that the reason I had to use VK_KHR_buffer_address was because VK_KHR_ray_tracing forced me to do so in another project. So it is not the case in this project, not util I start to look at the ray-tracing pipeline. Just had a try to down-grade to vulkan 1.1, basically as you said:
Currrently, the only issue I have is a validation error, like: The thing is that, VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_KHR and VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT are the same value. If I don't set this bit, there will be another validation error. Any idea how I can fix this? |
@fynv combining VK_KHR_ray_tracing to VkInline should be nice! I found buffer_device_address feature is still optional to Vulkan 1.2, so we'll need
This is a bug of ValidationLayers and it seems it was fixed recently. |
Yes, the validation error is gone after I updated my SDK to 1.2.141.0! Btw, are you trying this with a AMD GPU? Are there other issues? Is "VK_EXT_scalar_block_layout" supported there? I haven't had a chance to try this with anything other than Nvidia. The only other Vulkan device I have is a Qualcomm smartphone, which seems hopeless to support the extensions I need.. |
I have some AMD GPUs(Hawaii, VEGA, Navi, Rad VII) and NV GPUs(Pascal, Volta, 2080 Ti).
For more information, you can take a look at this: http://vulkan.gpuinfo.org/listdevices.php I'm not seeing any other issues yet. |
Thanks for the valuable information. Haven't been able to find P100 in the list though. |
You can use Google Colab to test with P100(Colab GPU will assign P100 or T4)
I meant |
About this issue, I think I'm coming close to an ultimate solution after the last few commits. |
Vulkan 1.2 supported environment is not yet widely available(as of Jun, 2020), so adding support of 1.1 would be nice.
Apparently, required modification seems small. I could run VkInline on 1.1 driver(NV Linux, AMD amdgpu-pro Linux) by simply replacing 1.2 -> 1.1 and VK_KHR_buffer_address stuff to VK_EXT_buffer_address.
@fynv Is there any concern to support Vukan 1.1? When no further changes required, I can send a PR to support 1.1.
The text was updated successfully, but these errors were encountered: