Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<script>
window.addEventListener("load", async () => {
const adapter = await navigator.gpu.requestAdapter({})
const device = await adapter.requestDevice({})
const canvas = new OffscreenCanvas(184, 4266759736)
context = canvas.getContext('webgpu')
context.configure({
device: device,
format: context.getPreferredFormat(adapter),
})
})
</script>
</head>
</html>