mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-27 00:36:00 +03:00
[PR #2458] [MERGED] renderer_vulkan: Bind descriptors to specific stages in layout. #2750
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2750
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/2458
Author: @squidbus
Created: 2/16/2025
Status: ✅ Merged
Merged: 2/16/2025
Merged by: @raphaelthegreat
Base:
main← Head:desc-stage📝 Commits (1)
96c98e3renderer_vulkan: Bind descriptors to specific stages in layout.📊 Changes
3 files changed (+16 additions, -6 deletions)
View changed files
📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp(+14 -4)📝
src/video_core/renderer_vulkan/vk_pipeline_common.cpp(+1 -1)📝
src/video_core/renderer_vulkan/vk_pipeline_common.h(+1 -1)📄 Description
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 https://github.com/shadps4-emu/shadPS4/issues/1820
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.