[PR #183] [MERGED] Micro detiler for 2D BC textures #1371

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/183
Author: @psucien
Created: 6/10/2024
Status: Merged
Merged: 6/10/2024
Merged by: @georgemoralis

Base: mainHead: bc_detiler


📝 Commits (2)

  • fa73812 texture_cache: detiler: added support for block coded 128bit images
  • 01f09cf texture_cache: detiler: added support for block coded 64bit images

📊 Changes

9 files changed (+175 additions, -37 deletions)

View changed files

📝 src/video_core/host_shaders/CMakeLists.txt (+3 -1)
📝 src/video_core/host_shaders/detile_m32x1.comp (+8 -15)
src/video_core/host_shaders/detile_m32x2.comp (+48 -0)
src/video_core/host_shaders/detile_m32x4.comp (+50 -0)
📝 src/video_core/texture_cache/image.cpp (+34 -10)
📝 src/video_core/texture_cache/image.h (+3 -0)
📝 src/video_core/texture_cache/image_view.cpp (+1 -1)
📝 src/video_core/texture_cache/tile_manager.cpp (+25 -9)
📝 src/video_core/texture_cache/tile_manager.h (+3 -1)

📄 Description

A detiler for BCx 2D formats added. It still works on mip0 only, and support for mip and layers will be added in a separate PR


🔄 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/183 **Author:** [@psucien](https://github.com/psucien) **Created:** 6/10/2024 **Status:** ✅ Merged **Merged:** 6/10/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `bc_detiler` --- ### 📝 Commits (2) - [`fa73812`](https://github.com/shadps4-emu/shadPS4/commit/fa73812f32976fb20bb1e599b0cd4d8789253d0f) texture_cache: detiler: added support for block coded 128bit images - [`01f09cf`](https://github.com/shadps4-emu/shadPS4/commit/01f09cfa6332d91982305a6e6874cb3a840b1bce) texture_cache: detiler: added support for block coded 64bit images ### 📊 Changes **9 files changed** (+175 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `src/video_core/host_shaders/CMakeLists.txt` (+3 -1) 📝 `src/video_core/host_shaders/detile_m32x1.comp` (+8 -15) ➕ `src/video_core/host_shaders/detile_m32x2.comp` (+48 -0) ➕ `src/video_core/host_shaders/detile_m32x4.comp` (+50 -0) 📝 `src/video_core/texture_cache/image.cpp` (+34 -10) 📝 `src/video_core/texture_cache/image.h` (+3 -0) 📝 `src/video_core/texture_cache/image_view.cpp` (+1 -1) 📝 `src/video_core/texture_cache/tile_manager.cpp` (+25 -9) 📝 `src/video_core/texture_cache/tile_manager.h` (+3 -1) </details> ### 📄 Description A detiler for BCx 2D formats added. It still works on mip0 only, and support for mip and layers will be added in a separate PR --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:12:17 +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#1371
No description provided.