summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/tests/cts/checkout/src/webgpu/web_platform/reftests/canvas_complex_rgba8unorm_store.https.html
blob: b82745658eef5fec9f0b56b6c2dbbf6ad4c9c340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html class="reftest-wait">
  <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 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>