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

Vulkan backend : Depth texture format restricted to VK_FORMAT_D32_SFLOAT #90

Open
lordOznek opened this issue Aug 30, 2024 · 0 comments

Comments

@lordOznek
Copy link

Hello there!
I've managed to integrate FSR3.1 with the latest SDK using FFX API. I get into an issue while providing our depth buffer into the format VK_FORMAT_D32_SFLOAT_S8_UINT. The ffx Vulkan backend tries to create a view into VK_FORMAT_D32_SFLOAT resulting into a GPU lost.
Is there a real restriction to D32_SFLOAT format (and coping our depth buffer to a D32 depth target)?
I've tried to hardcode our texture format into ffx_vk.cpp, it doesn't crash but still not a solution. Strangely, the resourceDescription has a format field but it is fill with unknowned format. It could be an actual solution to propagate the texture format provided from the dispatch description to this backendResource->resourceDescription.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant