mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #931] [MERGED] graphics_pipeline: Move some depth configuration to dynamic state #1836
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#1836
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/931
Author: @raphaelthegreat
Created: 9/15/2024
Status: ✅ Merged
Merged: 9/15/2024
Merged by: @psucien
Base:
main← Head:key📝 Commits (10+)
585c81cgraphics_pipeline: More proper masking38a7098pipeline_cache: Skip setting depth/stencil fields when test is disabledf01d075pipeline_cache: More fixes to depth stencil state2cf31a3vk_rasterizer: Use dynamic state for depth bounds and biasa93b830pipeline_cache: Missed depth bias enable3e8455fvk_rasterizer: Add stencil dynamic statesa89c79dthread: Reduce spammy loge88d1bfRemove some leftover state3b074f0pipeline_cache: Allocate pipelines from pools8b231f5vk_graphics_pipeline: Remove bindings member📊 Changes
7 files changed (+99 additions, -82 deletions)
View changed files
📝
src/core/libraries/kernel/thread_management.cpp(+1 -1)📝
src/video_core/amdgpu/liverpool.h(+10 -0)📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp(+17 -26)📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.h(+4 -12)📝
src/video_core/renderer_vulkan/vk_pipeline_cache.cpp(+26 -41)📝
src/video_core/renderer_vulkan/vk_pipeline_cache.h(+4 -2)📝
src/video_core/renderer_vulkan/vk_rasterizer.cpp(+37 -0)📄 Description
Some of these depth/stencil states can change very significantly between frames even and cased a lot of unnecessary pipeline recompilation. Move them to dynamic state to solve this (these states are supported by Vulkan 1.0 so should be good compatibility wise)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.