Skip to content

Commit

Permalink
default-scene: Add WebGPU to screenshot test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Amiard committed Nov 5, 2024
1 parent 73ca5c6 commit 0331dba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default-scene/test/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {runScreenshotTest} from '../../test-utils.js';
import {runScreenshotTestWebGL2AndWebGPU} from '../../test-utils.js';

/* wle:auto-constants:start */
const Constants = {
Expand All @@ -23,4 +23,4 @@ const RuntimeOptions = {
RuntimeOptions.threads = false; /* Disabled for testing on any browser */
RuntimeOptions.simd = false;

await runScreenshotTest(Constants.ProjectName, Constants.RuntimeBaseName, RuntimeOptions);
await runScreenshotTestWebGL2AndWebGPU(Constants.ProjectName, Constants.RuntimeBaseName, RuntimeOptions);

0 comments on commit 0331dba

Please sign in to comment.