mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-16 06:23:23 +09:00
[MGPipe] preserve explicit mip extents in the shared texture staging owner
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user