From 89095ff591cc5a74cc8fd28f997d655279848771 Mon Sep 17 00:00:00 2001 From: Stephen White Date: Wed, 16 Jul 2025 10:25:58 -0400 Subject: [PATCH] Revert "Don't use Compatibility Mode till Chrome bug is fixed (#523)" This reverts commit b28ddf74c34cd9b6d0db29d1974022554caca5f1. --- sample/videoUploading/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sample/videoUploading/main.ts b/sample/videoUploading/main.ts index e341e89c..8e37fcad 100644 --- a/sample/videoUploading/main.ts +++ b/sample/videoUploading/main.ts @@ -3,7 +3,9 @@ import fullscreenTexturedQuadWGSL from '../../shaders/fullscreenTexturedQuad.wgs import sampleExternalTextureWGSL from '../../shaders/sampleExternalTexture.frag.wgsl'; import { quitIfWebGPUNotAvailable } from '../util'; -const adapter = await navigator.gpu?.requestAdapter(); +const adapter = await navigator.gpu?.requestAdapter({ + featureLevel: 'compatibility', +}); const device = await adapter?.requestDevice(); quitIfWebGPUNotAvailable(adapter, device);