diff options
Diffstat (limited to 'testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/canvas_colorspace_bgra8unorm.https.html')
-rw-r--r-- | testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/canvas_colorspace_bgra8unorm.https.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/canvas_colorspace_bgra8unorm.https.html b/testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/canvas_colorspace_bgra8unorm.https.html new file mode 100644 index 0000000000..a0068dbf7a --- /dev/null +++ b/testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/canvas_colorspace_bgra8unorm.https.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <title>WebGPU canvas_colorspace_bgra8unorm</title> + <meta charset="utf-8" /> + <style> + canvas { + width: 128px; + height: 128px; + margin-right: 5px; + image-rendering: pixelated; + image-rendering: crisp-edges; + } + </style> + <link rel="help" href="https://gpuweb.github.io/gpuweb/" /> + <meta name="assert" content="WebGPU bgra8norm canvas with colorSpace set should be rendered correctly" /> + <link rel="match" href="./ref/canvas_colorspace-ref.html" /> + <meta name=fuzzy content="maxDifference=0-2;totalPixels=0-9999999"> + <script type="module"> + import { runColorSpaceTest } from './canvas_colorspace.html.js'; + runColorSpaceTest('bgra8unorm'); + </script> + <body></body> +</html> |