diff options
Diffstat (limited to 'testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/ref/delay_get_texture-ref.html')
-rw-r--r-- | testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/ref/delay_get_texture-ref.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/ref/delay_get_texture-ref.html b/testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/ref/delay_get_texture-ref.html new file mode 100644 index 0000000000..fcf485dbe1 --- /dev/null +++ b/testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/ref/delay_get_texture-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> + <title>WebGPU delay getCurrentTexture (ref)</title> + <meta charset="utf-8" /> + <link rel="help" href="https://gpuweb.github.io/gpuweb/" /> + <canvas id="cvs0" width="20" height="20" style="width: 20px; height: 20px;"></canvas> + <script> + function draw(canvas) { + var c = document.getElementById(canvas); + var ctx = c.getContext('2d'); + ctx.fillStyle = '#00FF00'; + ctx.fillRect(0, 0, c.width, c.height); + } + + draw('cvs0'); + </script> +</html> |