[MGPipe] preserve explicit mip extents in the shared texture staging owner

This commit is contained in:
2026-09-20 13:02:56 -04:00
parent 2426abb814
commit ed01f4e31a
3 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -1024,7 +1024,7 @@ namespace MobileGL::MG_Pipe {
const auto& desc = stored.Desc;
store.Adopt(MG_Remote::Server::StagedTextureStore::KeyForHandle(upload.Res),
MGPipeSubDataUploadTargetOf(upload.Target), upload.Level,
MG_Remote::Server::StagedTextureMipExtent(desc.Target, desc.Width, desc.Height, desc.Depth, upload.Level),
MG_Remote::Server::StagedTextureUploadExtent(desc, upload),
bytes, static_cast<SizeT>(upload.Blob.Size));
}