mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-15 11:51:22 +00:00
Regenerated:
- expectations.txt
- ts_sources.txt
- test_list.txt
- cache_list.txt
- resource_files.txt
- webtest .html files
e8109c7cac..fdf9e7c129
- fdf9e7 shader/expression: Reduce 'const' shader size (#2129)
- 1c9bc7 Add HTML5 DOCTYPE to all reftests (#2127)
- 3c6768 op: Add 'index_format,setIndexBuffer_before_setPipeline' test in index_format.spec.ts (#2125)
- 9e0480 Add a canvas image-rendering wpt ref test (#2119)
Created with './tools/run cts roll'
Change-Id: Iafca73eb1f88b1efd403706db503f0ca191e2069
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116621
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
28 lines
921 B
HTML
28 lines
921 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
|
|
<title>WebGPU canvas_complex (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>
|
|
<canvas id="cvs1" width="20" height="20" style="width: 20px; height: 20px;"></canvas>
|
|
<canvas id="cvs2" width="20" height="20" style="width: 20px; height: 20px;"></canvas>
|
|
<script>
|
|
function draw(ctx) {
|
|
ctx.fillStyle = '#660000';
|
|
ctx.fillRect(0, 0, 10, 10);
|
|
ctx.fillStyle = '#006600';
|
|
ctx.fillRect(10, 0, 10, 10);
|
|
ctx.fillStyle = '#000066';
|
|
ctx.fillRect(0, 10, 10, 10);
|
|
ctx.fillStyle = '#666600';
|
|
ctx.fillRect(10, 10, 10, 10);
|
|
}
|
|
|
|
draw(cvs0.getContext('2d'));
|
|
draw(cvs1.getContext('2d'));
|
|
draw(cvs2.getContext('2d'));
|
|
|
|
</script>
|
|
</html>
|