[PR #4075] IMAGE_STORE_MIP fallback #3918

Open
opened 2026-02-27 22:05:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/4075
Author: @baggins183
Created: 2/25/2026
Status: 🔄 Open

Base: mainHead: load_store_mip


📝 Commits (6)

  • 45d52d8 fallback for IMAGE_STORE_MIP when not natively supported
  • d444334 Lod should be treated as absolute, independent of sharp's base_level (judging by other implemented instructions)
  • 55df578 fix descriptor set layouts
  • 5b8b245 dumb error
  • c7e8804 force fallback for testing
  • 50cab87 Merge branch 'main' into load_store_mip

📊 Changes

12 files changed (+129 additions, -38 deletions)

View changed files

📝 src/shader_recompiler/backend/spirv/emit_spirv_image.cpp (+25 -4)
📝 src/shader_recompiler/backend/spirv/spirv_emit_context.cpp (+14 -3)
📝 src/shader_recompiler/backend/spirv/spirv_emit_context.h (+2 -1)
📝 src/shader_recompiler/ir/passes/ir_passes.h (+1 -1)
📝 src/shader_recompiler/ir/passes/resource_tracking_pass.cpp (+14 -4)
📝 src/shader_recompiler/recompiler.cpp (+1 -1)
📝 src/shader_recompiler/resource.h (+6 -0)
📝 src/shader_recompiler/specialization.h (+8 -1)
📝 src/video_core/renderer_vulkan/vk_compute_pipeline.cpp (+4 -2)
📝 src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp (+4 -2)
📝 src/video_core/renderer_vulkan/vk_pipeline_cache.cpp (+1 -1)
📝 src/video_core/renderer_vulkan/vk_rasterizer.cpp (+49 -18)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/4075 **Author:** [@baggins183](https://github.com/baggins183) **Created:** 2/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `load_store_mip` --- ### 📝 Commits (6) - [`45d52d8`](https://github.com/shadps4-emu/shadPS4/commit/45d52d81b860f0f0339ed39f32756aa1b676e25e) fallback for IMAGE_STORE_MIP when not natively supported - [`d444334`](https://github.com/shadps4-emu/shadPS4/commit/d44433477f625edab4a32b6f42701d79a7945044) Lod should be treated as absolute, independent of sharp's base_level (judging by other implemented instructions) - [`55df578`](https://github.com/shadps4-emu/shadPS4/commit/55df57810ccc95d6ca806c508889299c7bf0ffd1) fix descriptor set layouts - [`5b8b245`](https://github.com/shadps4-emu/shadPS4/commit/5b8b2459b9fad87c8c5a41e2623b80f517c63906) dumb error - [`c7e8804`](https://github.com/shadps4-emu/shadPS4/commit/c7e8804da098049a81b9714246fa5560ee382539) force fallback for testing - [`50cab87`](https://github.com/shadps4-emu/shadPS4/commit/50cab87cd173164e583f67ab5f1627533e8f61f1) Merge branch 'main' into load_store_mip ### 📊 Changes **12 files changed** (+129 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/backend/spirv/emit_spirv_image.cpp` (+25 -4) 📝 `src/shader_recompiler/backend/spirv/spirv_emit_context.cpp` (+14 -3) 📝 `src/shader_recompiler/backend/spirv/spirv_emit_context.h` (+2 -1) 📝 `src/shader_recompiler/ir/passes/ir_passes.h` (+1 -1) 📝 `src/shader_recompiler/ir/passes/resource_tracking_pass.cpp` (+14 -4) 📝 `src/shader_recompiler/recompiler.cpp` (+1 -1) 📝 `src/shader_recompiler/resource.h` (+6 -0) 📝 `src/shader_recompiler/specialization.h` (+8 -1) 📝 `src/video_core/renderer_vulkan/vk_compute_pipeline.cpp` (+4 -2) 📝 `src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp` (+4 -2) 📝 `src/video_core/renderer_vulkan/vk_pipeline_cache.cpp` (+1 -1) 📝 `src/video_core/renderer_vulkan/vk_rasterizer.cpp` (+49 -18) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3918
No description provided.