mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #2892] [MERGED] vulkan: Handle incompatible depth format using null binding. #3059
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#3059
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/2892
Author: @squidbus
Created: 5/9/2025
Status: ✅ Merged
Merged: 5/9/2025
Merged by: @squidbus
Base:
main← Head:depth-null📝 Commits (1)
3b703f7vulkan: Handle incompatible depth format using null binding.📊 Changes
7 files changed (+55 additions, -17 deletions)
View changed files
📝
src/shader_recompiler/info.h(+5 -0)📝
src/shader_recompiler/ir/passes/resource_tracking_pass.cpp(+6 -0)📝
src/video_core/amdgpu/resource.h(+13 -0)📝
src/video_core/renderer_vulkan/vk_rasterizer.cpp(+3 -2)📝
src/video_core/texture_cache/image_view.h(+0 -2)📝
src/video_core/texture_cache/texture_cache.cpp(+24 -13)📝
src/video_core/texture_cache/texture_cache.h(+4 -0)📄 Description
Builds on latest version of https://github.com/shadps4-emu/shadPS4/pull/2818 a bit with some additional parts to bind the dummy depth image to a proper Vulkan-side image.
Essentially, for a complete view of what this does:
I believe this will allow the depth promote workaround here to also pass Vulkan validation. Please test with some games that hit this issue and see if they get past it. If you know how, please also check to make sure there aren't any weird format incompatibility validation errors when the assert would normally happen.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.