visionOS: Make sure the multiview caps is enabled
The caps for visionOS are the same as for macOS, so just set the same for both, including support for multiview. Task-number: QTBUG-126294 Pick-to: 6.8 Change-Id: Ie3a551f134d8a8a39d63801bc7fd8dcca1e715c9 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
3de6d6fd34
commit
2c2d36fae1
@ -610,7 +610,7 @@ bool QRhiMetal::create(QRhi::Flags flags)
|
||||
const QString label = QString::asprintf("Qt capture scope for QRhi %p", this);
|
||||
d->captureScope.label = label.toNSString();
|
||||
|
||||
#if defined(Q_OS_MACOS)
|
||||
#if defined(Q_OS_MACOS) || defined(Q_OS_VISIONOS)
|
||||
caps.maxTextureSize = 16384;
|
||||
caps.baseVertexAndInstance = true;
|
||||
caps.isAppleGPU = [d->dev supportsFamily:MTLGPUFamilyApple7];
|
||||
|
Loading…
x
Reference in New Issue
Block a user