Unblacklist tst_qrhi threeDimTexture()

Unblacklist tst_qrhi threeDimTexture() test function, by skipping
it with Android OpenGLES.

Fixes: QTQAINFRA-6333
Pick-to: 6.8
Change-Id: I795dd73fc7b35ab065f206030458088d829be9c8
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit d8f75f34c94aadff98722ec236a43115dfae8956)
This commit is contained in:
Konsta Alajärvi 2025-01-09 13:14:10 +02:00
parent 206a8fec2c
commit 31e6f4a2ca
2 changed files with 7 additions and 3 deletions

View File

@ -4,9 +4,6 @@ android
# QTBUG-92211
[renderPassDescriptorCompatibility]
android
# Skip 3D textures with Android emulator, the sw-based GL there is no good
[threeDimTexture]
android
# Same here, GLES 3.0 features seem hopeless
[renderToTextureTextureArray]
android

View File

@ -5262,6 +5262,13 @@ void tst_QRhi::threeDimTexture()
QFETCH(QRhi::Implementation, impl);
QFETCH(QRhiInitParams *, initParams);
#ifdef Q_OS_ANDROID
if (impl == QRhi::OpenGLES2) {
QSKIP("This test fails with OpenGLES software rendering on Android emulators, "
"see QTBUG-132934.");
}
#endif
QScopedPointer<QRhi> rhi(QRhi::create(impl, initParams));
if (!rhi)
QSKIP("QRhi could not be created, skipping testing 3D textures");