Skip to content

renderer_vulkan: Bind descriptors to specific stages in layout. #2458

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

Merged
merged 1 commit into from
Feb 16, 2025

Conversation

squidbus
Copy link
Collaborator

@squidbus squidbus commented Feb 16, 2025

When defining descriptor set layouts, instead of attaching descriptors to all stages, attach only to the stage they came from.

This reduces the per-stage binding pressure, which can help MoltenVK in particular when using push descriptors to have enough binding slots for its own internal buffers for purposes like tessellation data.

Should fix #1820

@raphaelthegreat raphaelthegreat merged commit e13fb2e into shadps4-emu:main Feb 16, 2025
11 checks passed
@squidbus squidbus deleted the desc-stage branch March 28, 2025 17:34
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.

[macOS] [BB] MoltenVK Crash (possibly tessellation related)
2 participants