mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #1556] [MERGED] image_view: Use array view for color/depth buffers with multiple layers. #2169
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#2169
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/1556
Author: @squidbus
Created: 11/20/2024
Status: ✅ Merged
Merged: 11/20/2024
Merged by: @georgemoralis
Base:
main← Head:buf-layers📝 Commits (1)
6af3c70image_view: Use array view for color/depth buffers with multiple layers.📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
src/video_core/texture_cache/image_view.cpp(+2 -0)📄 Description
Currently when an image view is created for a color or depth buffer,
range.extent.layersmay be set to greater than 1, but type is always defaulted tovk::ImageViewType::e2D. This causes the following validation error, which can crash certain drivers:Instead, use
vk::ImageViewType::e2DArraywhen the number of layers is greater than 1.Fixes booting CUSA04518 on macOS.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.