mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #2818] [CLOSED] Skip PromoteFormatToDepth in the case of a dummy image #3004
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#3004
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/2818
Author: @kalaposfos13
Created: 4/20/2025
Status: ❌ Closed
Base:
main← Head:dont-promote-format-to-depth📝 Commits (6)
7fa2d0eSkip PromoteFormatToDepth in the case of a dummy image1f1f8d1Use a cleaner error checka3bae94Set format to eD32Sfloat for the dummy 1x1 images29a0e0cChange the control flow to be a bit more readable161cb46Readd accidentally reverted change774c3beAdd dummy depth image📊 Changes
4 files changed (+71 additions, -29 deletions)
View changed files
📝
src/video_core/amdgpu/resource.h(+13 -0)📝
src/video_core/renderer_vulkan/liverpool_to_vk.h(+1 -1)📝
src/video_core/texture_cache/image_info.cpp(+33 -19)📝
src/video_core/texture_cache/image_view.cpp(+24 -9)📄 Description
Attempts to solve some cases of the
PromoteFormatToDepthunreachable, by not calling the function if the image is a dummy 1x1 image, and in those cases, the format is also set to be eD32Sfloat, so it is a valid depth image.Also adds more debug info in case of a failure
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.