mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2079] [MERGED] renderer_vulkan: Fix null buffer views with wrong format. #2475
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#2475
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/2079
Author: @squidbus
Created: 1/7/2025
Status: ✅ Merged
Merged: 1/7/2025
Merged by: @georgemoralis
Base:
main← Head:fix-null-buf📝 Commits (1)
dcfd3ccrenderer_vulkan: Fix null buffer views with wrong format.📊 Changes
3 files changed (+16 additions, -26 deletions)
View changed files
📝
src/video_core/buffer_cache/buffer_cache.cpp(+1 -12)📝
src/video_core/buffer_cache/buffer_cache.h(+0 -5)📝
src/video_core/renderer_vulkan/vk_rasterizer.cpp(+15 -9)📄 Description
Using null buffer view as-is can result in a validation error when the format does not match the number type that the shader expects. Instead, create a view of the null buffer with the expected format as needed. Null buffer is also expanded to size 16 to cover the necessary format sizes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.