blob: c8bf39cf5fbe1bbd6f487f036524bc1f0225f14f [file] [log] [blame] [edit]
<script>
if (window.testRunner) { testRunner.waitUntilDone(); testRunner.dumpAsText() }
onload = async () => {
let adapter12 = await navigator.gpu.requestAdapter({ });
let device10 = await adapter12.requestDevice({ label: '\u0678' } );
let canvas25 = document.createElement('canvas');
canvas25.height = 1419621282;
let gpuCanvasContext17 = canvas25.getContext('webgpu');
gpuCanvasContext17.configure(
{
device: device10,
format: 'rgba16float',
colorSpace: 'srgb',
alphaMode: 'premultiplied',
}
);
let texture95 = gpuCanvasContext17.getCurrentTexture();
if (window.testRunner) { testRunner.notifyDone() }
};
</script>
This test passes if it does not crash.