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

Fix logic surrounding PushDescriptors in Vulkan #257

Merged
merged 3 commits into from
Nov 28, 2024

Conversation

gr3ger
Copy link
Contributor

@gr3ger gr3ger commented Nov 16, 2024

Prevent the use of PushDescriptors when it will violate Vulkan MaxPushDescriptors limitation.
This should resolve some VUID-VkDescriptorSetLayoutCreateInfo-flags-00281 errors I encountered.

This change retains the same functionality, but in a more performat way. I measured ticks for both the above for loop and the new one, and opted for moving this one down as well since it was slightly slower.
@github-actions github-actions bot added gpu Affects GPU emulation graphics-backend:vulkan Affects the Vulkan Graphics backend labels Nov 16, 2024
@GreemDev GreemDev merged commit 8a2b56c into Ryubing:master Nov 28, 2024
10 checks passed
@GreemDev GreemDev mentioned this pull request Dec 10, 2024
marco-carvalho pushed a commit to marco-carvalho/Ryujinx-1 that referenced this pull request Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gpu Affects GPU emulation graphics-backend:vulkan Affects the Vulkan Graphics backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants