Details
-
Bug
-
Resolution: Incomplete
-
P4: Low
-
None
-
6.6.1
Description
When setting the dimensions of the window to a value greater than 16384 on macOS, it triggers the following error:
2024-01-26 18:46:44.227 appTestApplication2[98280:9111095] CAMetalLayer ignoring invalid setDrawableSize width=38400.000000 height=38400.000000
-[MTLTextureDescriptorInternal validateWithDevice:]:1357: failed assertion `Texture Descriptor Validation
MTLTextureDescriptor has width (38400) greater than the maximum allowed size of 16384.
MTLTextureDescriptor has height (38400) greater than the maximum allowed size of 16384.
The page 8 of the pdf below indicates that it's system limitation issue:
https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf
To reproduce the issue, you just need to run the following code example:
import QtQuick import QtQuick.Window Window { width: 19200 height: 10847 visible: true title: width }
Note: you might need to run it multiple times.