blob: 62e7eb3cb5560d4023875a3e066f6bbc2f4b980e [file] [log] [blame]
<html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex_rgba8unorm_draw</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_draw_texture_sample" width="20" height="20" style="width: 20px; height: 20px;"></canvas>
<canvas id="cvs_draw_vertex_color" width="20" height="20" style="width: 20px; height: 20px;"></canvas>
<canvas id="cvs_draw_fragcoord" 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('rgba8unorm', [
{ cvs: cvs_draw_texture_sample, writeCanvasMethod: 'DrawTextureSample' },
{ cvs: cvs_draw_vertex_color, writeCanvasMethod: 'DrawVertexColor' },
{ cvs: cvs_draw_fragcoord, writeCanvasMethod: 'DrawFragcoord' },
]);
</script>
</html>