mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #1770] [MERGED] shader_recompiler: Support VK_AMD_shader_image_load_store_lod for IMAGE_STORE_MIP #2291
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#2291
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/1770
Author: @squidbus
Created: 12/14/2024
Status: ✅ Merged
Merged: 12/14/2024
Merged by: @raphaelthegreat
Base:
main← Head:image-mip📝 Commits (2)
e899863shader_recompiler: Support VK_AMD_shader_image_load_store_lod for IMAGE_STORE_MIP41421cfemit_spirv: Fix missing extension declaration.📊 Changes
13 files changed (+61 additions, -31 deletions)
View changed files
📝
src/shader_recompiler/backend/spirv/emit_spirv.cpp(+4 -0)📝
src/shader_recompiler/backend/spirv/emit_spirv_image.cpp(+12 -5)📝
src/shader_recompiler/backend/spirv/emit_spirv_instructions.h(+4 -4)📝
src/shader_recompiler/frontend/translate/translate.h(+1 -1)📝
src/shader_recompiler/frontend/translate/vector_memory.cpp(+8 -3)📝
src/shader_recompiler/ir/ir_emitter.cpp(+9 -8)📝
src/shader_recompiler/ir/ir_emitter.h(+6 -4)📝
src/shader_recompiler/ir/opcodes.inc(+3 -3)📝
src/shader_recompiler/ir/passes/resource_tracking_pass.cpp(+5 -3)📝
src/shader_recompiler/profile.h(+1 -0)📝
src/video_core/renderer_vulkan/vk_instance.cpp(+1 -0)📝
src/video_core/renderer_vulkan/vk_instance.h(+6 -0)📝
src/video_core/renderer_vulkan/vk_pipeline_cache.cpp(+1 -0)📄 Description
IMAGE_STORE_MIPin IR.ImageRead/Write/Fetchso LOD is always the same argument index, for easier patching in resource tracking pass.ImageWritewith LOD usingVK_AMD_shader_image_load_store_lod.Used by CUSA03694.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.