Skip to content

Commit 718f456

Browse files
Fix HDRP tests with by enabling backbuffer instead of render texture (#2898)
* add missing [UnityTest] attribute and use WaitForEndOfFrame * activate UseBackBuffer on SSR and SSAO scenes * update reference images for win editor * Update Vulkan linux screenshots * add missing config file to disable batch mode for DXR tests * increase VFX tests timeout to handle complex scenes with many shaders and XR variants Co-authored-by: Sebastien Lagarde <sebastien@unity3d.com>
1 parent d69a21e commit 718f456

File tree

59 files changed

+152
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+152
-113
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"disableBatchMode": true,
3+
"allowedGraphicsTarget": {
4+
"metal": ["amd"]
5+
}
6+
}
7+

TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2551_SSR.unity

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,16 @@ PrefabInstance:
844844
propertyPath: waitFrames
845845
value: 2
846846
objectReference: {fileID: 0}
847+
- target: {fileID: 114995348509370400, guid: c07ace9ab142ca9469fa377877c2f1e7,
848+
type: 3}
849+
propertyPath: ImageComparisonSettings.UseBackBuffer
850+
value: 1
851+
objectReference: {fileID: 0}
852+
- target: {fileID: 114995348509370400, guid: c07ace9ab142ca9469fa377877c2f1e7,
853+
type: 3}
854+
propertyPath: ImageComparisonSettings.ImageResolution
855+
value: 4
856+
objectReference: {fileID: 0}
847857
- target: {fileID: 114777190906822814, guid: c07ace9ab142ca9469fa377877c2f1e7,
848858
type: 3}
849859
propertyPath: m_RenderingPathCustomFrameSettings.bitDatas.data1

TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2601_SSAO_HalfRes.unity

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,16 @@ PrefabInstance:
518518
propertyPath: renderGraphCompatible
519519
value: 1
520520
objectReference: {fileID: 0}
521+
- target: {fileID: 114995348509370400, guid: c07ace9ab142ca9469fa377877c2f1e7,
522+
type: 3}
523+
propertyPath: ImageComparisonSettings.UseBackBuffer
524+
value: 1
525+
objectReference: {fileID: 0}
526+
- target: {fileID: 114995348509370400, guid: c07ace9ab142ca9469fa377877c2f1e7,
527+
type: 3}
528+
propertyPath: ImageComparisonSettings.ImageResolution
529+
value: 4
530+
objectReference: {fileID: 0}
521531
m_RemovedComponents: []
522532
m_SourcePrefab: {fileID: 100100000, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
523533
--- !u!1 &1820961444

TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2602_SSAO_FullRes.unity

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,16 @@ PrefabInstance:
513513
propertyPath: renderGraphCompatible
514514
value: 1
515515
objectReference: {fileID: 0}
516+
- target: {fileID: 114995348509370400, guid: c07ace9ab142ca9469fa377877c2f1e7,
517+
type: 3}
518+
propertyPath: ImageComparisonSettings.UseBackBuffer
519+
value: 1
520+
objectReference: {fileID: 0}
521+
- target: {fileID: 114995348509370400, guid: c07ace9ab142ca9469fa377877c2f1e7,
522+
type: 3}
523+
propertyPath: ImageComparisonSettings.ImageResolution
524+
value: 4
525+
objectReference: {fileID: 0}
516526
m_RemovedComponents: []
517527
m_SourcePrefab: {fileID: 100100000, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
518528
--- !u!1 &908551372
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)