Skip to content

Commit d0bc8f1

Browse files
amsXYZEvergreen
authored andcommitted
HDRP_Tests: Ref-image optimization step.
1 parent 2c0d65b commit d0bc8f1

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/HDRP_EditModeTests/PreviewTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public IEnumerator AssetPreviewIsCorrect()
165165

166166
yield return AssetPreviewTesting.CompareAssetPreview<Material>(
167167
"Assets/GraphicTests/Common/Materials/LitMetallicEmissive.mat",
168-
"Assets/ReferenceImages/Preview/LitMetallicEmissive.png",
168+
"Assets/PreviewTestsImages/LitMetallicEmissive.png",
169169
threshold);
170170

171171
EditorApplication.ExitPlaymode();

Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Tests/HDRP_Graphics_Tests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ public class HDRP_Graphics_Tests
127127
)]
128128
[IgnoreGraphicsTest("3012_MipMapMode_MipStreamingPerformance$", "There seems to be issues with the texture-streaming behaviour on all platforms.")]
129129
[IgnoreGraphicsTest("4012_MotionBlur_CameraOnly$", "Missing ref-image.")]
130+
[IgnoreGraphicsTest(
131+
"4075_PhysicalCamera-gateFit$",
132+
"Noisy result in Linux + VK..",
133+
graphicsDeviceTypes: new[] { GraphicsDeviceType.Vulkan },
134+
runtimePlatforms: new []{ RuntimePlatform.LinuxEditor }
135+
)]
130136
[IgnoreGraphicsTest(
131137
"4088_DRS-DLSS-Hardware$",
132138
"Instability https://jira.unity3d.com/browse/UUM-75549",

0 commit comments

Comments
 (0)