mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #3096] [CLOSED] Handle mixed samples attachments during draws #3221
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#3221
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/3096
Author: @mikusp
Created: 6/13/2025
Status: ❌ Closed
Base:
main← Head:mixed_samples_v2📝 Commits (1)
8095cd4Handle mixed samples attachments during draws📊 Changes
9 files changed (+107 additions, -18 deletions)
View changed files
📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp(+5 -1)📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.h(+1 -1)📝
src/video_core/renderer_vulkan/vk_instance.cpp(+14 -1)📝
src/video_core/renderer_vulkan/vk_instance.h(+8 -0)📝
src/video_core/renderer_vulkan/vk_pipeline_cache.cpp(+1 -1)📝
src/video_core/renderer_vulkan/vk_rasterizer.cpp(+60 -13)📝
src/video_core/renderer_vulkan/vk_rasterizer.h(+3 -1)📝
src/video_core/renderer_vulkan/vk_scheduler.cpp(+6 -0)📝
src/video_core/renderer_vulkan/vk_scheduler.h(+9 -0)📄 Description
Another shot at fixing the issue mentioned in https://github.com/shadps4-emu/shadPS4/pull/3020, when a game tries to do a draw into multiple color attachments that differ in their sample counts.
No longer requires VK_AMD/NV_* extension as the previous one, but VK_EXT_dynamic_rendering_unused_attachments and extendedDynamicState3RasterizationSamples - both handled by three major GPU vendors. Not supported by MoltenVK, that would need to wait for another PR. Now it gets ingame with HEAVY RAIN and renders the whole framebuffer

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.