Browse Source

Update validation tests

Popov72 4 years ago
parent
commit
de917a75c5

BIN
tests/validation/ReferenceImages/lightFalloffPointLights.png


BIN
tests/validation/ReferenceImages/lightFalloffSpots.png


BIN
tests/validation/ReferenceImages/webgpu/show all procedural textures.png


+ 11 - 5
tests/validation/config.json

@@ -549,6 +549,7 @@
         },
         },
         {
         {
             "title": "GLTF Mesh Primitive Vertex Color",
             "title": "GLTF Mesh Primitive Vertex Color",
+            "renderCount": 5,
             "playgroundId": "#DS8AA7#18",
             "playgroundId": "#DS8AA7#18",
             "replace": "__folder__, Mesh_PrimitiveVertexColor, __page__, 0",
             "replace": "__folder__, Mesh_PrimitiveVertexColor, __page__, 0",
             "referenceImage": "gltfMeshPrimitiveVertexColor.png"
             "referenceImage": "gltfMeshPrimitiveVertexColor.png"
@@ -786,7 +787,7 @@
         },
         },
         {
         {
             "title": "GUI",
             "title": "GUI",
-            "renderCount": 2,
+            "renderCount": 5,
             "scriptToRun": "/Demos/GUI/gui.js",
             "scriptToRun": "/Demos/GUI/gui.js",
             "functionToCall": "createScene",
             "functionToCall": "createScene",
             "referenceImage": "GUI.png"
             "referenceImage": "GUI.png"
@@ -841,7 +842,7 @@
         },
         },
         {
         {
             "title": "TGA",
             "title": "TGA",
-            "renderCount": 2,
+            "renderCount": 5,
             "playgroundId": "#ZI77S7#0",
             "playgroundId": "#ZI77S7#0",
             "referenceImage": "tga.png"
             "referenceImage": "tga.png"
         },
         },
@@ -856,9 +857,14 @@
             "referenceImage": "dds2d.png"
             "referenceImage": "dds2d.png"
         },
         },
         {
         {
-            "title": "LightFalloff",
-            "playgroundId": "#20OAV9#201",
-            "referenceImage": "lightFalloff.png"
+            "title": "LightFalloff spots",
+            "playgroundId": "#20OAV9#3311",
+            "referenceImage": "lightFalloffSpots.png"
+        },
+        {
+            "title": "LightFalloff point lights",
+            "playgroundId": "#20OAV9#3312",
+            "referenceImage": "lightFalloffPointLights.png"
         },
         },
         {
         {
             "title": "MeshSimplification",
             "title": "MeshSimplification",

+ 2 - 1
tests/validation/validation.js

@@ -411,7 +411,8 @@ function init(engineName) {
                     "depth24unorm-stencil8",
                     "depth24unorm-stencil8",
                     "depth32float-stencil8"
                     "depth32float-stencil8"
                 ]
                 ]
-            }
+            },
+            antialiasing: false,
         });
         });
         engine.enableOfflineSupport = false;
         engine.enableOfflineSupport = false;
         return new Promise((resolve) => {
         return new Promise((resolve) => {