gpu: admit block-compressed textures in PS5 R64 tiling

This commit is contained in:
nmzik
2026-10-10 23:47:47 +02:00
parent 9a5dd9faff
commit b7b335ac63
2 changed files with 45 additions and 17 deletions
+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;
}