From 5fce67dde27cdd485bc81932da4bae7ccafb6279 Mon Sep 17 00:00:00 2001 From: Lauri Pohjanheimo Date: Wed, 8 Jan 2025 16:23:02 +0200 Subject: [PATCH] RenderToRgb10Texture test unblacklisted Change-Id: I4a7e64e464ea04409154be2e7b3135ecd88a29fc Reviewed-by: Assam Boudjelthia --- tests/auto/gui/rhi/qrhi/BLACKLIST | 2 -- tests/auto/gui/rhi/qrhi/tst_qrhi.cpp | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/auto/gui/rhi/qrhi/BLACKLIST b/tests/auto/gui/rhi/qrhi/BLACKLIST index 186ea26d779..a0b8a45b571 100644 --- a/tests/auto/gui/rhi/qrhi/BLACKLIST +++ b/tests/auto/gui/rhi/qrhi/BLACKLIST @@ -9,7 +9,5 @@ android android [renderToFloatTexture] android -[renderToRgb10Texture] -android [tessellation vulkan] android diff --git a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp index fb30658fd13..63833deef5b 100644 --- a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp +++ b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp @@ -6193,6 +6193,13 @@ void tst_QRhi::renderToRgb10Texture() if (!rhi->isTextureFormatSupported(QRhiTexture::RGB10A2)) QSKIP("RGB10A2 is not supported, skipping test"); +#ifdef Q_OS_ANDROID + if (impl == QRhi::OpenGLES2) { + if (rhi->driverInfo().deviceName.contains("SwiftShader")) + QSKIP("SwiftShader software acceleration is used which does not support this OpenGLES feature. See QTBUG-132934"); + } +#endif + const QSize outputSize(1920, 1080); QScopedPointer texture(rhi->newTexture(QRhiTexture::RGB10A2, outputSize, 1, QRhiTexture::RenderTarget | QRhiTexture::UsedAsTransferSource));