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 Change-Id: Ie3a551f134d8a8a39d63801bc7fd8dcca1e715c9 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> (cherry picked from commit 2c2d36fae186a308f4bf2aa799551b74eb24eacb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
a7ad2641c5
commit
6f56cc73ce
@ -600,7 +600,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