gpu: admit block-compressed textures in PS5 R64 tiling

This commit is contained in:
nmzik committed 2026-10-11 01:05:56 +02:00
1 parent 9a5dd9faff
commit b7b335ac63
2 files changed
+45 -17

No files matched your search

+2 -2
View File
@@ -299,8 +299,8 @@ bool TileGetTextureBlockLayout(Prospero::BufferFormat format, Prospero::TileMode
if (!TileGetTextureElementLayout(format, element)) {
return false;
}
if ((family == TileBlockFamily::Depth64KB || family == TileBlockFamily::RenderTarget64KB) &&
Prospero::RenderTargetBytesPerElement(format) != element.bytes) {
if (family == TileBlockFamily::Depth64KB &&
(element.texel_width != 1 || element.texel_height != 1)) {
return false;
}