mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #828] [MERGED] vulkan: Limit multisampling to supported sample counts. #1792
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#1792
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/828
Author: @squidbus
Created: 9/7/2024
Status: ✅ Merged
Merged: 9/12/2024
Merged by: @raphaelthegreat
Base:
main← Head:vk-sample-count📝 Commits (1)
cb56283vulkan: Limit multisampling to supported sample counts.📊 Changes
5 files changed (+29 additions, -6 deletions)
View changed files
📝
src/video_core/renderer_vulkan/liverpool_to_vk.cpp(+11 -1)📝
src/video_core/renderer_vulkan/liverpool_to_vk.h(+1 -1)📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp(+2 -1)📝
src/video_core/renderer_vulkan/vk_instance.h(+7 -0)📝
src/video_core/texture_cache/image.cpp(+8 -3)📄 Description
Limits requested multi-sampling for framebuffers and images to the maximum supported.
sampleCountbitmask fromVkImageFormatProperties.VkPhysicalDeviceLimits.When a sample count is unsupported, it divides by 2 and tries again, with a minimum of 1 sample.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.