blob: ed3790663b883b4056323d4206e1b6c4b7d3f4a9 [file] [log] [blame] [edit]
<html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex_bgra8unorm_copy</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_complex-ref.html" />
<canvas id="cvs_copy_buffer_to_texture" width="20" height="20" style="width: 20px; height: 20px;"></canvas>
<canvas id="cvs_copy_texture_to_texture" width="20" height="20" style="width: 20px; height: 20px;"></canvas>
<canvas id="cvs_copy_external_image_to_texture" width="20" height="20" style="width: 20px; height: 20px;"></canvas>
<script src="/common/reftest-wait.js"></script>
<script type="module">
import { run } from './canvas_complex.html.js';
run('bgra8unorm', [
{ cvs: cvs_copy_buffer_to_texture, writeCanvasMethod: 'copyBufferToTexture' },
{ cvs: cvs_copy_texture_to_texture, writeCanvasMethod: 'copyTextureToTexture' },
{ cvs: cvs_copy_external_image_to_texture, writeCanvasMethod: 'copyExternalImageToTexture' },
]);
</script>
</html>