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 Pick-to: 6.8 Change-Id: I4a7e64e464ea04409154be2e7b3135ecd88a29fc Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
parent
ebbf2d298b
commit
3fe904e231
@ -13,7 +13,5 @@ android
|
||||
# Ditto
|
||||
[renderToFloatTexture]
|
||||
android
|
||||
[renderToRgb10Texture]
|
||||
android
|
||||
[tessellation vulkan]
|
||||
android
|
||||
|
@ -6113,6 +6113,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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user