[PR #1959] [CLOSED] image: Add Depth_MicroTiled and Display_MicroTiled tiling modes. #2403

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1959
Author: @squidbus
Created: 12/28/2024
Status: Closed

Base: mainHead: microtile


📝 Commits (1)

  • e0d52b3 image: Add Depth_MicroTiled and Display_MicroTiled tiling modes.

📊 Changes

3 files changed (+11 additions, -2 deletions)

View changed files

📝 src/video_core/amdgpu/resource.h (+7 -2)
📝 src/video_core/texture_cache/image_info.cpp (+2 -0)
📝 src/video_core/texture_cache/tile_manager.cpp (+2 -0)

📄 Description

  • Adds Display_MicroTiled (mode 0x9), and gives Depth_MicroTiled (mode 0x5) its own constant for completeness instead of mapping to Texture_MicroTiled.
  • Adds these new tiling modes to size calculations and detiling, handled same as Texture_MicroTiled.

Needs validation this is the correct approach to handle these, I could not effectively debug the use of Display_MicroTiled in Knack Chapter 13-1 on my system.


🔄 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/1959 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 12/28/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `microtile` --- ### 📝 Commits (1) - [`e0d52b3`](https://github.com/shadps4-emu/shadPS4/commit/e0d52b3cf588e19248973107d30c8afd4d7b5eb3) image: Add Depth_MicroTiled and Display_MicroTiled tiling modes. ### 📊 Changes **3 files changed** (+11 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/video_core/amdgpu/resource.h` (+7 -2) 📝 `src/video_core/texture_cache/image_info.cpp` (+2 -0) 📝 `src/video_core/texture_cache/tile_manager.cpp` (+2 -0) </details> ### 📄 Description * Adds `Display_MicroTiled` (mode `0x9`), and gives `Depth_MicroTiled` (mode `0x5`) its own constant for completeness instead of mapping to `Texture_MicroTiled`. * Adds these new tiling modes to size calculations and detiling, handled same as `Texture_MicroTiled`. Needs validation this is the correct approach to handle these, I could not effectively debug the use of `Display_MicroTiled` in Knack Chapter 13-1 on my system. --- <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:23 +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#2403
No description provided.