Skip to content

Commit fb22c85

Browse files
authored
Revert "Don't use Compatibility Mode till Chrome bug is fixed (#523)" (#528)
This reverts commit b28ddf7. Bug was [fixed in Dawn](https://dawn-review.googlesource.com/c/dawn/+/252698) and rolled into [Chrome 1487302](http://crrev.com/1487302), shipping in today's Canary.
1 parent 5c6d7bb commit fb22c85

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sample/videoUploading/main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import fullscreenTexturedQuadWGSL from '../../shaders/fullscreenTexturedQuad.wgs
33
import sampleExternalTextureWGSL from '../../shaders/sampleExternalTexture.frag.wgsl';
44
import { quitIfWebGPUNotAvailable } from '../util';
55

6-
const adapter = await navigator.gpu?.requestAdapter();
6+
const adapter = await navigator.gpu?.requestAdapter({
7+
featureLevel: 'compatibility',
8+
});
79
const device = await adapter?.requestDevice();
810
quitIfWebGPUNotAvailable(adapter, device);
911

0 commit comments

Comments
 (0)