RenderToRgb10Texture test unblacklisted

Change-Id: I4a7e64e464ea04409154be2e7b3135ecd88a29fc
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Lauri Pohjanheimo 2025-01-08 16:23:02 +02:00
parent ca6db761cf
commit 5fce67dde2
2 changed files with 7 additions and 2 deletions

View File

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

View File

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