mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #514] [MERGED] Fix a few issues with the intel anv vulkan driver from mesa #1608
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#1608
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/514
Author: @Random06457
Created: 8/21/2024
Status: ✅ Merged
Merged: 8/24/2024
Merged by: @psucien
Base:
main← Head:intel_fixes📝 Commits (2)
358a049add fallback format for d16UnormS8Uint which is not supported by intel05f551bfix depth/stencil buffer creation issues causing asserts in intel driver📊 Changes
4 files changed (+11 additions, -6 deletions)
View changed files
📝
src/video_core/renderer_vulkan/liverpool_to_vk.cpp(+1 -0)📝
src/video_core/renderer_vulkan/vk_instance.cpp(+2 -0)📝
src/video_core/texture_cache/image.cpp(+7 -6)📝
src/video_core/texture_cache/texture_cache.cpp(+1 -0)📄 Description
VK_FORMAT_D16_UNORM_S8_UINT, so useVK_FORMAT_D24_UNORM_S8_UINTinstead.usage & VK_IMAGE_USAGE_STORAGE_BIT && aspect == VK_IMAGE_ASPECT_DEPTH_BIT(https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/intel/vulkan/anv_image.c#L760)TextureCache::FindDepthTargetwasn't setting theimage.aspect_maskof the depth image properly so it still had its default valueVK_IMAGE_ASPECT_COLOR_BITwhich causes this assert to trigger: https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/vulkan/runtime/vk_image.c#L279🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.