[PR #2036] [MERGED] texture_cache: slight detilers refactoring #2454

Closed
opened 2026-02-27 21:16:34 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2036
Author: @psucien
Created: 1/3/2025
Status: Merged
Merged: 1/3/2025
Merged by: @psucien

Base: mainHead: texture_cache/detilers_refactoring_1


📝 Commits (1)

  • 4f0651d texture_cache: slight detilers refactoring

📊 Changes

18 files changed (+89 additions, -166 deletions)

View changed files

📝 src/video_core/buffer_cache/buffer_cache.cpp (+1 -1)
📝 src/video_core/host_shaders/CMakeLists.txt (+8 -8)
📝 src/video_core/host_shaders/detilers/macro_32bpp.comp (+0 -0)
📝 src/video_core/host_shaders/detilers/macro_64bpp.comp (+0 -0)
📝 src/video_core/host_shaders/detilers/macro_8bpp.comp (+0 -0)
📝 src/video_core/host_shaders/detilers/micro_128bpp.comp (+0 -0)
📝 src/video_core/host_shaders/detilers/micro_16bpp.comp (+0 -0)
📝 src/video_core/host_shaders/detilers/micro_32bpp.comp (+0 -0)
📝 src/video_core/host_shaders/detilers/micro_64bpp.comp (+0 -0)
📝 src/video_core/host_shaders/detilers/micro_8bpp.comp (+0 -0)
📝 src/video_core/renderer_vulkan/vk_presenter.cpp (+1 -1)
📝 src/video_core/texture_cache/image.cpp (+1 -1)
📝 src/video_core/texture_cache/image.h (+1 -1)
📝 src/video_core/texture_cache/image_info.cpp (+14 -14)
📝 src/video_core/texture_cache/image_info.h (+1 -1)
📝 src/video_core/texture_cache/texture_cache.cpp (+19 -15)
📝 src/video_core/texture_cache/tile_manager.cpp (+34 -115)
📝 src/video_core/texture_cache/tile_manager.h (+9 -9)

📄 Description

  • Meaningful detilers names;
  • Got rid of monstrous switch-case and format conversion;
  • Image's guest_size_bytes renamed to just guest_size

🔄 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/2036 **Author:** [@psucien](https://github.com/psucien) **Created:** 1/3/2025 **Status:** ✅ Merged **Merged:** 1/3/2025 **Merged by:** [@psucien](https://github.com/psucien) **Base:** `main` ← **Head:** `texture_cache/detilers_refactoring_1` --- ### 📝 Commits (1) - [`4f0651d`](https://github.com/shadps4-emu/shadPS4/commit/4f0651d08562051b8876766e4acae6d1950f888e) texture_cache: slight detilers refactoring ### 📊 Changes **18 files changed** (+89 additions, -166 deletions) <details> <summary>View changed files</summary> 📝 `src/video_core/buffer_cache/buffer_cache.cpp` (+1 -1) 📝 `src/video_core/host_shaders/CMakeLists.txt` (+8 -8) 📝 `src/video_core/host_shaders/detilers/macro_32bpp.comp` (+0 -0) 📝 `src/video_core/host_shaders/detilers/macro_64bpp.comp` (+0 -0) 📝 `src/video_core/host_shaders/detilers/macro_8bpp.comp` (+0 -0) 📝 `src/video_core/host_shaders/detilers/micro_128bpp.comp` (+0 -0) 📝 `src/video_core/host_shaders/detilers/micro_16bpp.comp` (+0 -0) 📝 `src/video_core/host_shaders/detilers/micro_32bpp.comp` (+0 -0) 📝 `src/video_core/host_shaders/detilers/micro_64bpp.comp` (+0 -0) 📝 `src/video_core/host_shaders/detilers/micro_8bpp.comp` (+0 -0) 📝 `src/video_core/renderer_vulkan/vk_presenter.cpp` (+1 -1) 📝 `src/video_core/texture_cache/image.cpp` (+1 -1) 📝 `src/video_core/texture_cache/image.h` (+1 -1) 📝 `src/video_core/texture_cache/image_info.cpp` (+14 -14) 📝 `src/video_core/texture_cache/image_info.h` (+1 -1) 📝 `src/video_core/texture_cache/texture_cache.cpp` (+19 -15) 📝 `src/video_core/texture_cache/tile_manager.cpp` (+34 -115) 📝 `src/video_core/texture_cache/tile_manager.h` (+9 -9) </details> ### 📄 Description - Meaningful detilers names; - Got rid of monstrous switch-case and format conversion; - Image's `guest_size_bytes` renamed to just `guest_size` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:16:34 +03:00
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#2454
No description provided.