blob: e8c6d24fe54bf49b86156417c19a632cd8620c1b [file] [log] [blame] [edit]
<html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex_rgba8unorm_store</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_fragment_texture_store" width="20" height="20" style="width: 20px; height: 20px;"></canvas>
<canvas id="cvs_compute_texture_store_1" width="20" height="20" style="width: 20px; height: 20px;"></canvas>
<canvas id="cvs_compute_texture_store_2" 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_fragment_texture_store, writeCanvasMethod: 'FragmentTextureStore' },
{ cvs: cvs_compute_texture_store_1, writeCanvasMethod: 'ComputeWorkgroup1x1TextureStore' },
{ cvs: cvs_compute_texture_store_2, writeCanvasMethod: 'ComputeWorkgroup16x16TextureStore' },
]);
</script>
</html>