mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #1101] [MERGED] vulkan: Fix some common validation errors. #1930
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#1930
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/1101
Author: @squidbus
Created: 9/27/2024
Status: ✅ Merged
Merged: 10/1/2024
Merged by: @raphaelthegreat
Base:
main← Head:validation📝 Commits (3)
fbf1a26vulkan: Fix some extension support related validation errors.c719921vulkan: Fix validation error on zero-size buffer.c49bbebvulkan: Fix primitive list restart validation error.📊 Changes
6 files changed (+37 additions, -9 deletions)
View changed files
📝
src/shader_recompiler/backend/spirv/emit_spirv.cpp(+1 -0)📝
src/video_core/buffer_cache/buffer.cpp(+3 -2)📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp(+9 -3)📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.h(+10 -0)📝
src/video_core/renderer_vulkan/vk_instance.cpp(+3 -4)📝
src/video_core/renderer_vulkan/vk_instance.h(+11 -0)📄 Description
VK_KHR_maintenance5is not supported, fall back to the old logic of setting all flags on buffers since they cannot be added on to buffer views later.SPV_EXT_demote_to_helper_invocationwhen using capabilityDemoteToHelperInvocationEXTfor cases when the extension is being used with Vulkan 1.2.These are the two most common causes of validation error spam when I'm testing on MoltenVK, which makes it hard to spot other more useful validation errors.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.