graphics: fix copy extents, render area, storage usage, and eviction #266

Closed
github-bot wants to merge 4 commits from gh-pr/266/head into gh-pr/266/base
Owner

@⁠shadowbeat070 on GitHub · 2026-08-15 20:13 UTC · original
shadowbeat070:pr/texture-cache → main · +40 −10 · 3 files · 4 commits · closed without merging

Four independent fixes for texture cache and image bugs

Summary

  • Grant storage usage to block compressed images through BLOCK_TEXEL_VIEW_COMPATIBLE view in the matching uncompressed class.
  • Only copy the region that both images both images actually have in CopyImage and CopyImageWithBuffer.
  • fix the render area to what the attachment views cover and just the guest extents. A same pitch merge means that a 190 texel target can resolve to a 189 wide image.
  • No longer evict gpu authored storage images because the garbage collector would skip downloading and discard the only copy in memory. the next draw would be built from empty guest memory and cause black textures.

bugs were identified while trying to get bg&e stable

PR follows contribution guidelines and and the windows is build verified

**@⁠shadowbeat070** on GitHub · 2026-08-15 20:13 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/266) `shadowbeat070:pr/texture-cache` → `main` · +40 −10 · 3 files · 4 commits · closed without merging Four independent fixes for texture cache and image bugs ## Summary - Grant storage usage to block compressed images through BLOCK_TEXEL_VIEW_COMPATIBLE view in the matching uncompressed class. - Only copy the region that both images both images actually have in CopyImage and CopyImageWithBuffer. - fix the render area to what the attachment views cover and just the guest extents. A same pitch merge means that a 190 texel target can resolve to a 189 wide image. - No longer evict gpu authored storage images because the garbage collector would skip downloading and discard the only copy in memory. the next draw would be built from empty guest memory and cause black textures. bugs were identified while trying to get bg&e stable PR follows contribution guidelines and and the windows is build verified
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:15:39 +00:00
github-bot closed this pull request 2026-11-26 09:15:39 +00:00
Author
Owner

@⁠Nmzik on GitHub · 2026-08-26 00:19 UTC · original

@⁠shadowbeat070 please include game/ppsa code

**@⁠Nmzik** on GitHub · 2026-08-26 00:19 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/266#issuecomment-5418813841) @⁠shadowbeat070 please include game/ppsa code

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.