mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #245] [MERGED] shader_recompiler: Check usage before enabling capabilities #1418
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#1418
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/245
Author: @raphaelthegreat
Created: 7/5/2024
Status: ✅ Merged
Merged: 7/5/2024
Merged by: @raphaelthegreat
Base:
main← Head:feature-check📝 Commits (4)
f619049vk_instance: Better feature checka36407bshader_recompiler: Make most features optional1e842c0vk_instance: Bump extension vector size1b5a96eresource_tracking_pass: Perform BFS for sharp tracking📊 Changes
12 files changed (+151 additions, -61 deletions)
View changed files
📝
src/core/libraries/gnmdriver/gnmdriver.cpp(+1 -1)📝
src/shader_recompiler/backend/spirv/emit_spirv.cpp(+18 -8)📝
src/shader_recompiler/backend/spirv/spirv_emit_context.cpp(+7 -9)📝
src/shader_recompiler/frontend/translate/translate.cpp(+1 -0)➕
src/shader_recompiler/ir/breadth_first_search.h(+52 -0)📝
src/shader_recompiler/ir/passes/resource_tracking_pass.cpp(+11 -14)📝
src/shader_recompiler/ir/passes/shader_info_collection_pass.cpp(+18 -0)📝
src/shader_recompiler/runtime_info.h(+5 -0)📝
src/video_core/amdgpu/liverpool.h(+5 -6)📝
src/video_core/renderer_vulkan/liverpool_to_vk.cpp(+7 -0)📝
src/video_core/renderer_vulkan/vk_instance.cpp(+25 -23)📝
src/video_core/renderer_vulkan/vk_instance.h(+1 -0)📄 Description
Some users had issues with crashing due to shaderFloat16 feature being enabled. This is now checked and the vulkan feature is enabled only if driver supports it and shader only declares it if an instruction needs it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.