Skip to content

Commit

Permalink
Puppeteer E2E test: Fix WebGL on Mac ARM (#26343)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeviPesin committed Jun 28, 2023
1 parent 3d85765 commit 24203ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ async function main() {

/* Launch browser */

const flags = [ '--hide-scrollbars', '--enable-unsafe-webgpu' ];
flags.push( '--enable-features=Vulkan', '--use-gl=swiftshader', '--use-angle=swiftshader', '--use-vulkan=swiftshader', '--use-webgpu-adapter=swiftshader' );
const flags = [ '--hide-scrollbars', '--enable-gpu' ];
// flags.push( '--enable-unsafe-webgpu', '--enable-features=Vulkan', '--use-gl=swiftshader', '--use-angle=swiftshader', '--use-vulkan=swiftshader', '--use-webgpu-adapter=swiftshader' );
// if ( process.platform === 'linux' ) flags.push( '--enable-features=Vulkan,UseSkiaRenderer', '--use-vulkan=native', '--disable-vulkan-surface', '--disable-features=VaapiVideoDecoder', '--ignore-gpu-blocklist', '--use-angle=vulkan' );

const viewport = { width: width * viewScale, height: height * viewScale };
Expand Down

0 comments on commit 24203ba

Please sign in to comment.