blob: a112bf4230d505b64245d6e462a74fc6ce57306b [file] [log] [blame]
<html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_bgra8unorm_premultiplied</title>
<meta charset="utf-8" />
<link rel="help" href="https://gpuweb.github.io/gpuweb/" />
<meta
name="assert"
content="WebGPU canvas should have correct orientation, components, scaling, filtering, color space"
/>
<link rel="match" href="./ref/canvas_composite_alpha_premultiplied-ref.html" />
<meta name=fuzzy content="maxDifference=0-2;totalPixels=0-400">
<style>
body { background-color: #F0E68C; }
</style>
<canvas id="cvs" width="20" height="20" style="width: 20px; height: 20px;"></canvas>
<script src="/common/reftest-wait.js"></script>
<script type="module">
cvs.style.imageRendering = 'pixelated';
import { run } from './canvas_composite_alpha.html.js';
run('bgra8unorm', 'premultiplied', 'copy');
</script>
</html>