Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8
-
None
Description
The source and/or target of a BlitFramebuffer may specify a mipLevel. In that case, the sourceRect/destinationRect are incorrectly interpreted (specifically the y value) as the code at https://codebrowser.dev/qt6/qt3d/src/plugins/renderers/opengl/graphicshelpers/submissioncontext.cpp.html#1576 uses the base mip level 0 height. As an example, given a base texture size of 512, when working with mipLevel 3, I'd expect to be able to specify the rect as Qt.rect(0, 0, 64, 64). Instead I must currently specify it as Qt.rect(0, 512 - 64, 64, 64).