[MGPipe] carry full mutable mip extents independently of dirty upload boxes

This commit is contained in:
2026-09-20 12:46:01 -04:00
parent 0cb0e9af9b
commit 40c5443fc0
3 changed files with 16 additions and 1 deletions
+4 -1
View File
@@ -1290,8 +1290,11 @@ namespace MobileGL::MG_Pipe {
Uint32 RegionCount; // MGPSubRegion[] in the variable tail
Uint32 Pad1;
MGPBlobRef Blob;
// Mutable GL images may define a lone mip or a noncanonical mip size.
// The dirty box describes changed texels, not the full staged image.
Uint32 LevelWidth, LevelHeight, LevelDepth, LevelPad;
};
MGP_ASSERT_POD(MGPSubData, 72);
MGP_ASSERT_POD(MGPSubData, 88);
// The one spelling of MGPSubData::Target's encoding, stated above the struct.
//