From cb17482951c9a2527a5ab60e284a9f39c73e4dba Mon Sep 17 00:00:00 2001 From: tomzig16 Date: Wed, 24 Feb 2021 13:40:03 +0200 Subject: [PATCH 1/2] Enable 119 test on Android --- .../Test/TestFilters/TestCaseFilters.asset | 51 ++++++++----------- 1 file changed, 21 insertions(+), 30 deletions(-) diff --git a/TestProjects/UniversalGraphicsTest/Assets/Test/TestFilters/TestCaseFilters.asset b/TestProjects/UniversalGraphicsTest/Assets/Test/TestFilters/TestCaseFilters.asset index c50d25b69ab..765c1225cbf 100644 --- a/TestProjects/UniversalGraphicsTest/Assets/Test/TestFilters/TestCaseFilters.asset +++ b/TestProjects/UniversalGraphicsTest/Assets/Test/TestFilters/TestCaseFilters.asset @@ -11,7 +11,7 @@ MonoBehaviour: m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 5f6aa9f32113aec4a8bded44c1febe5c, type: 3} m_Name: TestCaseFilters - m_EditorClassIdentifier: + m_EditorClassIdentifier: filters: - FilteredScene: {fileID: 0} FilteredScenes: @@ -172,7 +172,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 31 GraphicsDevice: 13 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1304675 - FilteredScene: {fileID: 0} @@ -181,7 +181,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 33 GraphicsDevice: 14 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1304675 - FilteredScene: {fileID: 0} @@ -190,7 +190,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 38 GraphicsDevice: 22 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1304675 - FilteredScene: {fileID: 0} @@ -263,7 +263,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 2 GraphicsDevice: 16 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1309400/ - FilteredScene: {fileID: 0} @@ -272,7 +272,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 2 GraphicsDevice: 16 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1309400/ - FilteredScene: {fileID: 0} @@ -413,22 +413,13 @@ MonoBehaviour: XrSdk: None StereoModes: 0 Reason: OSX Standalone won't work with back buffer capture - - FilteredScene: {fileID: 0} - FilteredScenes: - - {fileID: 102900000, guid: c7b61419ee9382545afe530714fda0c2, type: 3} - ColorSpace: -1 - BuildPlatform: 13 - GraphicsDevice: 21 - XrSdk: None - StereoModes: 0 - Reason: 'Android Vulkan 119: tracked issue (1252270)' - FilteredScene: {fileID: 0} FilteredScenes: - {fileID: 102900000, guid: c7b61419ee9382545afe530714fda0c2, type: 3} ColorSpace: -1 BuildPlatform: 31 GraphicsDevice: 13 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1293775/ - FilteredScene: {fileID: 0} @@ -437,7 +428,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 33 GraphicsDevice: 14 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1293775/ - FilteredScene: {fileID: 0} @@ -446,7 +437,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 38 GraphicsDevice: 22 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1293775/ - FilteredScene: {fileID: 0} @@ -455,7 +446,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 31 GraphicsDevice: 13 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1293775/ - FilteredScene: {fileID: 0} @@ -464,7 +455,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 31 GraphicsDevice: 13 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1293775/ - FilteredScene: {fileID: 0} @@ -473,7 +464,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 31 GraphicsDevice: 13 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1293775/ - FilteredScene: {fileID: 0} @@ -563,7 +554,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 31 GraphicsDevice: 13 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1305922/ - FilteredScene: {fileID: 0} @@ -572,7 +563,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 33 GraphicsDevice: 14 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1305922/ - FilteredScene: {fileID: 0} @@ -581,7 +572,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 38 GraphicsDevice: 22 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1305922/ - FilteredScene: {fileID: 0} @@ -599,7 +590,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 31 GraphicsDevice: 13 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1305922/ - FilteredScene: {fileID: 0} @@ -608,7 +599,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 33 GraphicsDevice: 14 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1305922/ - FilteredScene: {fileID: 0} @@ -617,7 +608,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 38 GraphicsDevice: 22 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1305922/ - FilteredScene: {fileID: 0} @@ -626,7 +617,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 31 GraphicsDevice: 13 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1305922/ - FilteredScene: {fileID: 0} @@ -635,7 +626,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 33 GraphicsDevice: 14 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1305922/ - FilteredScene: {fileID: 0} @@ -644,7 +635,7 @@ MonoBehaviour: ColorSpace: -1 BuildPlatform: 38 GraphicsDevice: 22 - XrSdk: + XrSdk: StereoModes: 0 Reason: https://fogbugz.unity3d.com/f/cases/1305922/ - FilteredScene: {fileID: 0} From f8da4c157a96f164dc62fbc52ba529e8428b8a59 Mon Sep 17 00:00:00 2001 From: tomzig16 Date: Tue, 2 Mar 2021 17:44:54 +0200 Subject: [PATCH 2/2] Wait for 10 frames in 119 test --- .../Assets/Scenes/119_CameraToRTWithViewportRect.unity | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/TestProjects/UniversalGraphicsTest/Assets/Scenes/119_CameraToRTWithViewportRect.unity b/TestProjects/UniversalGraphicsTest/Assets/Scenes/119_CameraToRTWithViewportRect.unity index 1838565b569..e3b83a39486 100644 --- a/TestProjects/UniversalGraphicsTest/Assets/Scenes/119_CameraToRTWithViewportRect.unity +++ b/TestProjects/UniversalGraphicsTest/Assets/Scenes/119_CameraToRTWithViewportRect.unity @@ -1368,11 +1368,16 @@ MonoBehaviour: TargetWidth: 640 TargetHeight: 360 PerPixelCorrectnessThreshold: 0.005 + PerPixelGammaThreshold: 0.003921569 + PerPixelAlphaThreshold: 0.003921569 AverageCorrectnessThreshold: 0.002 + IncorrectPixelsThreshold: 0.0000038146973 UseHDR: 0 UseBackBuffer: 1 ImageResolution: 4 - WaitFrames: 2 + ActiveImageTests: 1 + ActivePixelTests: 7 + WaitFrames: 10 XRCompatible: 1 --- !u!114 &393419561 MonoBehaviour: