RenderToRgb10Texture test unblacklisted

On CI an Android emulator with SwiftShader software graphics
implementation is used. SwiftShader implementation is unable
to emulate this OpenGL functionality.

Blacklisting removed. QSKIP the test if it is run in Android platform,
OpenGL and SwiftShader sw graphics implementation is found.

Task-number: QTQAINFRA-6331
Change-Id: I4a7e64e464ea04409154be2e7b3135ecd88a29fc
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 3fe904e23199fe73637425a26bb81dbbf069b2f7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Lauri Pohjanheimo 2025-01-08 16:23:02 +02:00 committed by Qt Cherry-pick Bot
parent 877ba467e1
commit 7fcd6c1aef
2 changed files with 7 additions and 2 deletions

View File

@ -15,7 +15,5 @@ android
android
[renderToFloatTexture]
android
[renderToRgb10Texture]
android
[tessellation vulkan]
android

View File

@ -5959,6 +5959,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<QRhiTexture> texture(rhi->newTexture(QRhiTexture::RGB10A2, outputSize, 1,
QRhiTexture::RenderTarget | QRhiTexture::UsedAsTransferSource));