Skip to content

Conversation

LittleCodingFox
Copy link
Contributor

@LittleCodingFox LittleCodingFox commented Sep 18, 2025

This PR allows configuring the vulkan renderer max descriptor sets per frame in BGFX.

This solves #2850 for at least two people (me and @julianxhokaxhiu, who had similar issues related to VK_ERROR_OUT_OF_POOL_MEMORY).

I believe this feature should be harmless as it's just exposing the original value to be overriden when compiling.

For testing, a large vulkan scene should no longer trigger the assert if we increase value of the new config option.

Thank you for your time!

@julianxhokaxhiu
Copy link
Contributor

julianxhokaxhiu commented Sep 18, 2025

Can confirm it works for me as well, tested on the latest FFNx canary release v1.22.0.98 on Windows 11 x64

@bkaradzic bkaradzic merged commit 735f623 into bkaradzic:master Sep 18, 2025
10 checks passed
@LittleCodingFox LittleCodingFox deleted the feature/vulkan-max-descriptor-config branch September 19, 2025 08:33
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

Successfully merging this pull request may close these issues.

3 participants