Unblacklist tst_qrhi renderToTextureSampleWithSeparateTextureAndSampler

Unblacklist test function by skipping it with Android with Vulkan.

Fixes: QTQAINFRA-6335
Pick-to: 6.9 6.8
Change-Id: I2ee093542f09f68044baa044b697a09af066fcd8
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Lauri Pohjanheimo <lauri.pohjanheimo@qt.io>
This commit is contained in:
Konsta Alajärvi 2025-01-17 08:16:50 +02:00
parent a77173486a
commit 83a4128ecb
2 changed files with 6 additions and 2 deletions

View File

@ -3,7 +3,5 @@
android
# Skip 3D textures on Android emulator: Software GL implementation doesn't work and GLES 3.0
# won't be available.
[renderToTextureSampleWithSeparateTextureAndSampler]
android
[tessellation vulkan]
android

View File

@ -2413,6 +2413,12 @@ void tst_QRhi::renderToTextureSampleWithSeparateTextureAndSampler()
QFETCH(QRhi::Implementation, impl);
QFETCH(QRhiInitParams *, initParams);
#ifdef Q_OS_ANDROID
if (impl == QRhi::Vulkan) {
QSKIP("This function fails with Vulkan on Android, see QTQAINFRA-6926 for more info.");
}
#endif
QScopedPointer<QRhi> rhi(QRhi::create(impl, initParams, QRhi::Flags(), nullptr));
if (!rhi)
QSKIP("QRhi could not be created, skipping testing rendering");