Changeset 246390 in webkit
- Timestamp:
- Jun 12, 2019, 8:44:24 PM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 52 edited
-
ChangeLog (modified) (1 diff)
-
webgpu/blend-color-triangle-strip.html (modified) (1 diff)
-
webgpu/blend-triangle-strip.html (modified) (2 diffs)
-
webgpu/blit-commands.html (modified) (2 diffs)
-
webgpu/buffer-command-buffer-races.html (modified) (1 diff)
-
webgpu/buffer-resource-triangles.html (modified) (1 diff)
-
webgpu/color-write-mask-triangle-strip.html (modified) (1 diff)
-
webgpu/depth-enabled-triangle-strip.html (modified) (1 diff)
-
webgpu/draw-indexed-triangles.html (modified) (1 diff)
-
webgpu/propertyresolver/ander-abstract-lvalue.html (modified) (1 diff)
-
webgpu/propertyresolver/ander-lvalue-3-levels.html (modified) (1 diff)
-
webgpu/propertyresolver/ander-lvalue.html (modified) (1 diff)
-
webgpu/propertyresolver/ander.html (modified) (1 diff)
-
webgpu/propertyresolver/getter.html (modified) (1 diff)
-
webgpu/propertyresolver/indexer-ander-abstract-lvalue.html (modified) (1 diff)
-
webgpu/propertyresolver/indexer-ander-lvalue-3-levels.html (modified) (1 diff)
-
webgpu/propertyresolver/indexer-ander-lvalue.html (modified) (1 diff)
-
webgpu/propertyresolver/indexer-ander.html (modified) (1 diff)
-
webgpu/propertyresolver/indexer-getter.html (modified) (1 diff)
-
webgpu/propertyresolver/indexer-setter-abstract-lvalue-3-levels.html (modified) (1 diff)
-
webgpu/propertyresolver/indexer-setter-abstract-lvalue.html (modified) (1 diff)
-
webgpu/propertyresolver/indexer-setter-lvalue.html (modified) (1 diff)
-
webgpu/propertyresolver/indexer-setter.html (modified) (1 diff)
-
webgpu/propertyresolver/setter-abstract-lvalue-3-levels.html (modified) (1 diff)
-
webgpu/propertyresolver/setter-abstract-lvalue.html (modified) (1 diff)
-
webgpu/propertyresolver/setter-lvalue.html (modified) (1 diff)
-
webgpu/simple-triangle-strip.html (modified) (1 diff)
-
webgpu/texture-triangle-strip.html (modified) (1 diff)
-
webgpu/vertex-buffer-triangle-strip.html (modified) (1 diff)
-
webgpu/viewport-scissor-rect-triangle-strip.html (modified) (1 diff)
-
webgpu/whlsl-arbitrary-vertex-attribute-locations.html (modified) (1 diff)
-
webgpu/whlsl-dereference-pointer-should-type-check.html (modified) (1 diff)
-
webgpu/whlsl-do-while-loop-break.html (modified) (1 diff)
-
webgpu/whlsl-do-while-loop-continue.html (modified) (1 diff)
-
webgpu/whlsl-do-while-loop.html (modified) (1 diff)
-
webgpu/whlsl-dont-crash-parsing-enum.html (modified) (1 diff)
-
webgpu/whlsl-dot-expressions.html (modified) (1 diff)
-
webgpu/whlsl-ensure-proper-variable-lifetime-2.html (modified) (1 diff)
-
webgpu/whlsl-ensure-proper-variable-lifetime-3.html (modified) (1 diff)
-
webgpu/whlsl-ensure-proper-variable-lifetime.html (modified) (1 diff)
-
webgpu/whlsl-loops-break.html (modified) (1 diff)
-
webgpu/whlsl-loops-continue.html (modified) (1 diff)
-
webgpu/whlsl-loops.html (modified) (1 diff)
-
webgpu/whlsl-nested-dot-expression-rvalue.html (modified) (1 diff)
-
webgpu/whlsl-nested-loop.html (modified) (1 diff)
-
webgpu/whlsl-return-local-variable.html (modified) (1 diff)
-
webgpu/whlsl-store-to-property-updates-properly.html (modified) (1 diff)
-
webgpu/whlsl-while-loop-break.html (modified) (1 diff)
-
webgpu/whlsl-while-loop-continue.html (modified) (1 diff)
-
webgpu/whlsl-zero-initialize-values-2.html (modified) (1 diff)
-
webgpu/whlsl-zero-initialize-values.html (modified) (1 diff)
-
webgpu/whlsl.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r246389 r246390 1 2019-06-12 Myles C. Maxfield <mmaxfield@apple.com> 2 3 [WHLSL] Educate the property resolver about IndexExpressions 4 https://bugs.webkit.org/show_bug.cgi?id=198399 5 6 Unreviewed test gardening. 7 8 Failing WebGPU tests should fail instead of time out. 9 10 * webgpu/blend-color-triangle-strip.html: 11 * webgpu/blend-triangle-strip.html: 12 * webgpu/blit-commands.html: 13 * webgpu/buffer-command-buffer-races.html: 14 * webgpu/buffer-resource-triangles.html: 15 * webgpu/color-write-mask-triangle-strip.html: 16 * webgpu/depth-enabled-triangle-strip.html: 17 * webgpu/draw-indexed-triangles.html: 18 * webgpu/propertyresolver/ander-abstract-lvalue.html: 19 * webgpu/propertyresolver/ander-lvalue-3-levels.html: 20 * webgpu/propertyresolver/ander-lvalue.html: 21 * webgpu/propertyresolver/ander.html: 22 * webgpu/propertyresolver/getter.html: 23 * webgpu/propertyresolver/indexer-ander-abstract-lvalue.html: 24 * webgpu/propertyresolver/indexer-ander-lvalue-3-levels.html: 25 * webgpu/propertyresolver/indexer-ander-lvalue.html: 26 * webgpu/propertyresolver/indexer-ander.html: 27 * webgpu/propertyresolver/indexer-getter.html: 28 * webgpu/propertyresolver/indexer-setter-abstract-lvalue-3-levels.html: 29 * webgpu/propertyresolver/indexer-setter-abstract-lvalue.html: 30 * webgpu/propertyresolver/indexer-setter-lvalue.html: 31 * webgpu/propertyresolver/indexer-setter.html: 32 * webgpu/propertyresolver/setter-abstract-lvalue-3-levels.html: 33 * webgpu/propertyresolver/setter-abstract-lvalue.html: 34 * webgpu/propertyresolver/setter-lvalue.html: 35 * webgpu/simple-triangle-strip.html: 36 * webgpu/texture-triangle-strip.html: 37 * webgpu/vertex-buffer-triangle-strip.html: 38 * webgpu/viewport-scissor-rect-triangle-strip.html: 39 * webgpu/whlsl-arbitrary-vertex-attribute-locations.html: 40 * webgpu/whlsl-dereference-pointer-should-type-check.html: 41 * webgpu/whlsl-do-while-loop-break.html: 42 * webgpu/whlsl-do-while-loop-continue.html: 43 * webgpu/whlsl-do-while-loop.html: 44 * webgpu/whlsl-dont-crash-parsing-enum.html: 45 * webgpu/whlsl-dot-expressions.html: 46 * webgpu/whlsl-ensure-proper-variable-lifetime-2.html: 47 * webgpu/whlsl-ensure-proper-variable-lifetime-3.html: 48 * webgpu/whlsl-ensure-proper-variable-lifetime.html: 49 * webgpu/whlsl-loops-break.html: 50 * webgpu/whlsl-loops-continue.html: 51 * webgpu/whlsl-loops.html: 52 * webgpu/whlsl-nested-dot-expression-rvalue.html: 53 * webgpu/whlsl-nested-loop.html: 54 * webgpu/whlsl-return-local-variable.html: 55 * webgpu/whlsl-store-to-property-updates-properly.html: 56 * webgpu/whlsl-while-loop-break.html: 57 * webgpu/whlsl-while-loop-continue.html: 58 * webgpu/whlsl-zero-initialize-values-2.html: 59 * webgpu/whlsl-zero-initialize-values.html: 60 * webgpu/whlsl.html: 61 1 62 2019-06-12 Simon Fraser <simon.fraser@apple.com> 2 63 -
trunk/LayoutTests/webgpu/blend-color-triangle-strip.html
r244093 r246390 76 76 77 77 queue.submit([commandEncoder.finish()]); 78 79 requestAnimationFrame(() => {80 if (window.testRunner)81 testRunner.notifyDone();82 });83 78 } 84 79 85 test(); 80 test().then(function() { 81 if (window.testRunner) 82 testRunner.notifyDone(); 83 }, function() { 84 if (window.testRunner) 85 testRunner.notifyDone(); 86 }); 86 87 </script> -
trunk/LayoutTests/webgpu/blend-triangle-strip.html
r246217 r246390 42 42 } 43 43 `; 44 45 window.addEventListener("load", test, false);46 44 47 45 async function test() { … … 96 94 97 95 device.getQueue().submit([commandEncoder.finish()]); 96 } 98 97 99 requestAnimationFrame(() => { 98 window.addEventListener("load", function() { 99 test().then(function() { 100 if (window.testRunner) 101 testRunner.notifyDone(); 102 }, function() { 100 103 if (window.testRunner) 101 104 testRunner.notifyDone(); 102 105 }); 103 } 106 }, false); 104 107 </script> -
trunk/LayoutTests/webgpu/blit-commands.html
r246217 r246390 15 15 const image = new Image(); 16 16 image.src = "resources/green-400.png"; 17 image.onload = () => { test(image); } 17 image.onload = function() { 18 test(image).then(function() { 19 if (window.testRunner) 20 testRunner.notifyDone(); 21 }, function() { 22 if (window.testRunner) 23 testRunner.notifyDone(); 24 }); 25 } 18 26 } 19 27 … … 92 100 readBuffer.destroy(); 93 101 }); 94 95 if (window.testRunner)96 testRunner.notifyDone();97 102 } 98 103 -
trunk/LayoutTests/webgpu/buffer-command-buffer-races.html
r246217 r246390 140 140 middleBuffer.destroy(); 141 141 upperRightBuffer.destroy(); 142 } 142 143 144 test().then(function() { 143 145 if (window.testRunner) 144 146 testRunner.notifyDone(); 145 } 146 147 test(); 147 }, function() { 148 if (window.testRunner) 149 testRunner.notifyDone(); 150 }); 148 151 </script> -
trunk/LayoutTests/webgpu/buffer-resource-triangles.html
r246217 r246390 197 197 const queue = device.getQueue(); 198 198 queue.submit([commandEncoder.finish()]); 199 200 if (window.testRunner) 201 testRunner.notifyDone(); 202 }); 203 } 204 205 test(); 199 }); 200 } 201 202 test().then(function() { 203 if (window.testRunner) 204 testRunner.notifyDone(); 205 }, function() { 206 if (window.testRunner) 207 testRunner.notifyDone(); 208 }); 206 209 </script> -
trunk/LayoutTests/webgpu/color-write-mask-triangle-strip.html
r244442 r246390 70 70 71 71 queue.submit([commandEncoder.finish()]); 72 73 requestAnimationFrame(() => {74 if (window.testRunner)75 testRunner.notifyDone();76 });77 72 } 78 73 79 test(); 74 test().then(function() { 75 if (window.testRunner) 76 testRunner.notifyDone(); 77 }, function() { 78 if (window.testRunner) 79 testRunner.notifyDone(); 80 }); 80 81 </script> -
trunk/LayoutTests/webgpu/depth-enabled-triangle-strip.html
r246217 r246390 109 109 110 110 device.getQueue().submit([commandEncoder.finish()]); 111 } 111 112 113 test().then(function() { 112 114 if (window.testRunner) 113 115 testRunner.notifyDone(); 114 } 115 116 test(); 116 }, function() { 117 if (window.testRunner) 118 testRunner.notifyDone(); 119 }); 117 120 </script> -
trunk/LayoutTests/webgpu/draw-indexed-triangles.html
r246217 r246390 113 113 device.getQueue().submit([commandEncoder.finish()]); 114 114 vertexBuffer.destroy(); 115 } 115 116 117 test().then(function() { 116 118 if (window.testRunner) 117 119 testRunner.notifyDone(); 118 } 119 120 test(); 120 }, function() { 121 if (window.testRunner) 122 testRunner.notifyDone(); 123 }); 121 124 </script> -
trunk/LayoutTests/webgpu/propertyresolver/ander-abstract-lvalue.html
r246385 r246390 104 104 const commandBuffer = commandEncoder.finish(); 105 105 device.getQueue().submit([commandBuffer]); 106 107 if (window.testRunner)108 testRunner.notifyDone();109 106 } 110 107 if (window.testRunner) 111 108 testRunner.waitUntilDone(); 112 window.addEventListener("load", start); 109 window.addEventListener("load", function() { 110 start().then(function() { 111 if (window.testRunner) 112 testRunner.notifyDone(); 113 }, function() { 114 if (window.testRunner) 115 testRunner.notifyDone(); 116 }); 117 }); 113 118 </script> 114 119 </body> -
trunk/LayoutTests/webgpu/propertyresolver/ander-lvalue-3-levels.html
r246385 r246390 107 107 const commandBuffer = commandEncoder.finish(); 108 108 device.getQueue().submit([commandBuffer]); 109 110 if (window.testRunner)111 testRunner.notifyDone();112 109 } 113 110 if (window.testRunner) 114 111 testRunner.waitUntilDone(); 115 window.addEventListener("load", start); 112 window.addEventListener("load", function() { 113 start().then(function() { 114 if (window.testRunner) 115 testRunner.notifyDone(); 116 }, function() { 117 if (window.testRunner) 118 testRunner.notifyDone(); 119 }); 120 }); 116 121 </script> 117 122 </body> -
trunk/LayoutTests/webgpu/propertyresolver/ander-lvalue.html
r246385 r246390 99 99 const commandBuffer = commandEncoder.finish(); 100 100 device.getQueue().submit([commandBuffer]); 101 102 if (window.testRunner)103 testRunner.notifyDone();104 101 } 105 102 if (window.testRunner) 106 103 testRunner.waitUntilDone(); 107 window.addEventListener("load", start); 104 window.addEventListener("load", function() { 105 start().then(function() { 106 if (window.testRunner) 107 testRunner.notifyDone(); 108 }, function() { 109 if (window.testRunner) 110 testRunner.notifyDone(); 111 }); 112 }); 108 113 </script> 109 114 </body> -
trunk/LayoutTests/webgpu/propertyresolver/ander.html
r246385 r246390 95 95 const commandBuffer = commandEncoder.finish(); 96 96 device.getQueue().submit([commandBuffer]); 97 98 if (window.testRunner)99 testRunner.notifyDone();100 97 } 101 98 if (window.testRunner) 102 99 testRunner.waitUntilDone(); 103 window.addEventListener("load", start); 100 window.addEventListener("load", function() { 101 start().then(function() { 102 if (window.testRunner) 103 testRunner.notifyDone(); 104 }, function() { 105 if (window.testRunner) 106 testRunner.notifyDone(); 107 }); 108 }); 104 109 </script> 105 110 </body> -
trunk/LayoutTests/webgpu/propertyresolver/getter.html
r246385 r246390 91 91 const commandBuffer = commandEncoder.finish(); 92 92 device.getQueue().submit([commandBuffer]); 93 94 if (window.testRunner)95 testRunner.notifyDone();96 93 } 97 94 if (window.testRunner) 98 95 testRunner.waitUntilDone(); 99 window.addEventListener("load", start); 96 window.addEventListener("load", function() { 97 start().then(function() { 98 if (window.testRunner) 99 testRunner.notifyDone(); 100 }, function() { 101 if (window.testRunner) 102 testRunner.notifyDone(); 103 }); 104 }); 100 105 </script> 101 106 </body> -
trunk/LayoutTests/webgpu/propertyresolver/indexer-ander-abstract-lvalue.html
r246385 r246390 104 104 const commandBuffer = commandEncoder.finish(); 105 105 device.getQueue().submit([commandBuffer]); 106 107 if (window.testRunner)108 testRunner.notifyDone();109 106 } 110 107 if (window.testRunner) 111 108 testRunner.waitUntilDone(); 112 window.addEventListener("load", start); 109 window.addEventListener("load", function() { 110 start().then(function() { 111 if (window.testRunner) 112 testRunner.notifyDone(); 113 }, function() { 114 if (window.testRunner) 115 testRunner.notifyDone(); 116 }); 117 }); 113 118 </script> 114 119 </body> -
trunk/LayoutTests/webgpu/propertyresolver/indexer-ander-lvalue-3-levels.html
r246385 r246390 107 107 const commandBuffer = commandEncoder.finish(); 108 108 device.getQueue().submit([commandBuffer]); 109 110 if (window.testRunner)111 testRunner.notifyDone();112 109 } 113 110 if (window.testRunner) 114 111 testRunner.waitUntilDone(); 115 window.addEventListener("load", start); 112 window.addEventListener("load", function() { 113 start().then(function() { 114 if (window.testRunner) 115 testRunner.notifyDone(); 116 }, function() { 117 if (window.testRunner) 118 testRunner.notifyDone(); 119 }); 120 }); 116 121 </script> 117 122 </body> -
trunk/LayoutTests/webgpu/propertyresolver/indexer-ander-lvalue.html
r246385 r246390 99 99 const commandBuffer = commandEncoder.finish(); 100 100 device.getQueue().submit([commandBuffer]); 101 102 if (window.testRunner)103 testRunner.notifyDone();104 101 } 105 102 if (window.testRunner) 106 103 testRunner.waitUntilDone(); 107 window.addEventListener("load", start); 104 window.addEventListener("load", function() { 105 start().then(function() { 106 if (window.testRunner) 107 testRunner.notifyDone(); 108 }, function() { 109 if (window.testRunner) 110 testRunner.notifyDone(); 111 }); 112 }); 108 113 </script> 109 114 </body> -
trunk/LayoutTests/webgpu/propertyresolver/indexer-ander.html
r246385 r246390 95 95 const commandBuffer = commandEncoder.finish(); 96 96 device.getQueue().submit([commandBuffer]); 97 98 if (window.testRunner)99 testRunner.notifyDone();100 97 } 101 98 if (window.testRunner) 102 99 testRunner.waitUntilDone(); 103 window.addEventListener("load", start); 100 window.addEventListener("load", function() { 101 start().then(function() { 102 if (window.testRunner) 103 testRunner.notifyDone(); 104 }, function() { 105 if (window.testRunner) 106 testRunner.notifyDone(); 107 }); 108 }); 104 109 </script> 105 110 </body> -
trunk/LayoutTests/webgpu/propertyresolver/indexer-getter.html
r246385 r246390 90 90 const commandBuffer = commandEncoder.finish(); 91 91 device.getQueue().submit([commandBuffer]); 92 93 if (window.testRunner)94 testRunner.notifyDone();95 92 } 96 93 if (window.testRunner) 97 94 testRunner.waitUntilDone(); 98 window.addEventListener("load", start); 95 window.addEventListener("load", function() { 96 start().then(function() { 97 if (window.testRunner) 98 testRunner.notifyDone(); 99 }, function() { 100 if (window.testRunner) 101 testRunner.notifyDone(); 102 }); 103 }); 99 104 </script> 100 105 </body> -
trunk/LayoutTests/webgpu/propertyresolver/indexer-setter-abstract-lvalue-3-levels.html
r246385 r246390 122 122 const commandBuffer = commandEncoder.finish(); 123 123 device.getQueue().submit([commandBuffer]); 124 125 if (window.testRunner)126 testRunner.notifyDone();127 124 } 128 125 if (window.testRunner) 129 126 testRunner.waitUntilDone(); 130 window.addEventListener("load", start); 127 window.addEventListener("load", function() { 128 start().then(function() { 129 if (window.testRunner) 130 testRunner.notifyDone(); 131 }, function() { 132 if (window.testRunner) 133 testRunner.notifyDone(); 134 }); 135 }); 131 136 </script> 132 137 </body> -
trunk/LayoutTests/webgpu/propertyresolver/indexer-setter-abstract-lvalue.html
r246385 r246390 109 109 const commandBuffer = commandEncoder.finish(); 110 110 device.getQueue().submit([commandBuffer]); 111 112 if (window.testRunner)113 testRunner.notifyDone();114 111 } 115 112 if (window.testRunner) 116 113 testRunner.waitUntilDone(); 117 window.addEventListener("load", start); 114 window.addEventListener("load", function() { 115 start().then(function() { 116 if (window.testRunner) 117 testRunner.notifyDone(); 118 }, function() { 119 if (window.testRunner) 120 testRunner.notifyDone(); 121 }); 122 }); 118 123 </script> 119 124 </body> -
trunk/LayoutTests/webgpu/propertyresolver/indexer-setter-lvalue.html
r246385 r246390 104 104 const commandBuffer = commandEncoder.finish(); 105 105 device.getQueue().submit([commandBuffer]); 106 107 if (window.testRunner)108 testRunner.notifyDone();109 106 } 110 107 if (window.testRunner) 111 108 testRunner.waitUntilDone(); 112 window.addEventListener("load", start); 109 window.addEventListener("load", function() { 110 start().then(function() { 111 if (window.testRunner) 112 testRunner.notifyDone(); 113 }, function() { 114 if (window.testRunner) 115 testRunner.notifyDone(); 116 }); 117 }); 113 118 </script> 114 119 </body> -
trunk/LayoutTests/webgpu/propertyresolver/indexer-setter.html
r246385 r246390 107 107 const commandBuffer = commandEncoder.finish(); 108 108 device.getQueue().submit([commandBuffer]); 109 110 if (window.testRunner)111 testRunner.notifyDone();112 109 } 113 110 if (window.testRunner) 114 111 testRunner.waitUntilDone(); 115 window.addEventListener("load", start); 112 window.addEventListener("load", function() { 113 start().then(function() { 114 if (window.testRunner) 115 testRunner.notifyDone(); 116 }, function() { 117 if (window.testRunner) 118 testRunner.notifyDone(); 119 }); 120 }); 116 121 </script> 117 122 </body> -
trunk/LayoutTests/webgpu/propertyresolver/setter-abstract-lvalue-3-levels.html
r246385 r246390 122 122 const commandBuffer = commandEncoder.finish(); 123 123 device.getQueue().submit([commandBuffer]); 124 125 if (window.testRunner)126 testRunner.notifyDone();127 124 } 128 125 if (window.testRunner) 129 126 testRunner.waitUntilDone(); 130 window.addEventListener("load", start); 127 window.addEventListener("load", function() { 128 start().then(function() { 129 if (window.testRunner) 130 testRunner.notifyDone(); 131 }, function() { 132 if (window.testRunner) 133 testRunner.notifyDone(); 134 }); 135 }); 131 136 </script> 132 137 </body> -
trunk/LayoutTests/webgpu/propertyresolver/setter-abstract-lvalue.html
r246385 r246390 109 109 const commandBuffer = commandEncoder.finish(); 110 110 device.getQueue().submit([commandBuffer]); 111 112 if (window.testRunner)113 testRunner.notifyDone();114 111 } 115 112 if (window.testRunner) 116 113 testRunner.waitUntilDone(); 117 window.addEventListener("load", start); 114 window.addEventListener("load", function() { 115 start().then(function() { 116 if (window.testRunner) 117 testRunner.notifyDone(); 118 }, function() { 119 if (window.testRunner) 120 testRunner.notifyDone(); 121 }); 122 }); 118 123 </script> 119 124 </body> -
trunk/LayoutTests/webgpu/propertyresolver/setter-lvalue.html
r246385 r246390 104 104 const commandBuffer = commandEncoder.finish(); 105 105 device.getQueue().submit([commandBuffer]); 106 107 if (window.testRunner)108 testRunner.notifyDone();109 106 } 110 107 if (window.testRunner) 111 108 testRunner.waitUntilDone(); 112 window.addEventListener("load", start); 109 window.addEventListener("load", function() { 110 start().then(function() { 111 if (window.testRunner) 112 testRunner.notifyDone(); 113 }, function() { 114 if (window.testRunner) 115 testRunner.notifyDone(); 116 }); 117 }); 113 118 </script> 114 119 </body> -
trunk/LayoutTests/webgpu/simple-triangle-strip.html
r242974 r246390 59 59 60 60 queue.submit([commandEncoder.finish()]); 61 62 requestAnimationFrame(() => {63 if (window.testRunner)64 testRunner.notifyDone();65 });66 61 } 67 62 68 test(); 63 test().then(function() { 64 if (window.testRunner) 65 testRunner.notifyDone(); 66 }, function() { 67 if (window.testRunner) 68 testRunner.notifyDone(); 69 }); 69 70 </script> -
trunk/LayoutTests/webgpu/texture-triangle-strip.html
r246217 r246390 195 195 textureCoordBuffer.destroy(); 196 196 texture.destroy(); 197 197 } 198 199 test().then(function() { 198 200 if (window.testRunner) 199 201 testRunner.notifyDone(); 200 } 201 202 test(); 202 }, function() { 203 if (window.testRunner) 204 testRunner.notifyDone(); 205 }); 203 206 </script> -
trunk/LayoutTests/webgpu/vertex-buffer-triangle-strip.html
r246217 r246390 92 92 queue.submit([commandEncoder.finish()]); 93 93 vertexBuffer.destroy(); 94 } 94 95 96 test().then(function() { 95 97 if (window.testRunner) 96 98 testRunner.notifyDone(); 97 } 98 99 test(); 99 }, function() { 100 if (window.testRunner) 101 testRunner.notifyDone(); 102 }); 100 103 </script> -
trunk/LayoutTests/webgpu/viewport-scissor-rect-triangle-strip.html
r244093 r246390 95 95 96 96 queue.submit([commandEncoder.finish()]); 97 98 requestAnimationFrame(() => {99 if (window.testRunner)100 testRunner.notifyDone();101 });102 97 } 103 98 104 test(); 99 test().then(function() { 100 if (window.testRunner) 101 testRunner.notifyDone(); 102 }, function() { 103 if (window.testRunner) 104 testRunner.notifyDone(); 105 }); 105 106 </script> -
trunk/LayoutTests/webgpu/whlsl-arbitrary-vertex-attribute-locations.html
r245905 r246390 112 112 const commandBuffer = commandEncoder.finish(); 113 113 device.getQueue().submit([commandBuffer]); 114 115 if (window.testRunner)116 testRunner.notifyDone();117 114 } 118 115 if (window.testRunner) 119 116 testRunner.waitUntilDone(); 120 window.addEventListener("load", start); 117 window.addEventListener("load", function() { 118 start().then(function() { 119 if (window.testRunner) 120 testRunner.notifyDone(); 121 }, function() { 122 if (window.testRunner) 123 testRunner.notifyDone(); 124 }); 125 }); 121 126 </script> 122 127 </body> -
trunk/LayoutTests/webgpu/whlsl-dereference-pointer-should-type-check.html
r245905 r246390 118 118 const commandBuffer = commandEncoder.finish(); 119 119 device.getQueue().submit([commandBuffer]); 120 121 if (window.testRunner)122 testRunner.notifyDone();123 120 } 124 121 if (window.testRunner) 125 122 testRunner.waitUntilDone(); 126 window.addEventListener("load", start); 123 window.addEventListener("load", function() { 124 start().then(function() { 125 if (window.testRunner) 126 testRunner.notifyDone(); 127 }, function() { 128 if (window.testRunner) 129 testRunner.notifyDone(); 130 }); 131 }); 127 132 </script> 128 133 </body> -
trunk/LayoutTests/webgpu/whlsl-do-while-loop-break.html
r246121 r246390 122 122 const commandBuffer = commandEncoder.finish(); 123 123 device.getQueue().submit([commandBuffer]); 124 125 if (window.testRunner)126 testRunner.notifyDone();127 124 } 128 125 if (window.testRunner) 129 126 testRunner.waitUntilDone(); 130 window.addEventListener("load", start); 127 window.addEventListener("load", function() { 128 start().then(function() { 129 if (window.testRunner) 130 testRunner.notifyDone(); 131 }, function() { 132 if (window.testRunner) 133 testRunner.notifyDone(); 134 }); 135 }); 131 136 </script> 132 137 </body> -
trunk/LayoutTests/webgpu/whlsl-do-while-loop-continue.html
r246121 r246390 124 124 const commandBuffer = commandEncoder.finish(); 125 125 device.getQueue().submit([commandBuffer]); 126 127 if (window.testRunner)128 testRunner.notifyDone();129 126 } 130 127 if (window.testRunner) 131 128 testRunner.waitUntilDone(); 132 window.addEventListener("load", start); 129 window.addEventListener("load", function() { 130 start().then(function() { 131 if (window.testRunner) 132 testRunner.notifyDone(); 133 }, function() { 134 if (window.testRunner) 135 testRunner.notifyDone(); 136 }); 137 }); 133 138 </script> 134 139 </body> -
trunk/LayoutTests/webgpu/whlsl-do-while-loop.html
r246121 r246390 119 119 const commandBuffer = commandEncoder.finish(); 120 120 device.getQueue().submit([commandBuffer]); 121 122 if (window.testRunner)123 testRunner.notifyDone();124 121 } 125 122 if (window.testRunner) 126 123 testRunner.waitUntilDone(); 127 window.addEventListener("load", start); 124 window.addEventListener("load", function() { 125 start().then(function() { 126 if (window.testRunner) 127 testRunner.notifyDone(); 128 }, function() { 129 if (window.testRunner) 130 testRunner.notifyDone(); 131 }); 132 }); 128 133 </script> 129 134 </body> -
trunk/LayoutTests/webgpu/whlsl-dont-crash-parsing-enum.html
r245905 r246390 113 113 const commandBuffer = commandEncoder.finish(); 114 114 device.getQueue().submit([commandBuffer]); 115 116 if (window.testRunner)117 testRunner.notifyDone();118 115 } 119 116 if (window.testRunner) 120 117 testRunner.waitUntilDone(); 121 window.addEventListener("load", start); 118 window.addEventListener("load", function() { 119 start().then(function() { 120 if (window.testRunner) 121 testRunner.notifyDone(); 122 }, function() { 123 if (window.testRunner) 124 testRunner.notifyDone(); 125 }); 126 }); 122 127 </script> 123 128 </body> -
trunk/LayoutTests/webgpu/whlsl-dot-expressions.html
r245905 r246390 113 113 const commandBuffer = commandEncoder.finish(); 114 114 device.getQueue().submit([commandBuffer]); 115 116 if (window.testRunner)117 testRunner.notifyDone();118 115 } 119 116 if (window.testRunner) 120 117 testRunner.waitUntilDone(); 121 window.addEventListener("load", start); 118 window.addEventListener("load", function() { 119 start().then(function() { 120 if (window.testRunner) 121 testRunner.notifyDone(); 122 }, function() { 123 if (window.testRunner) 124 testRunner.notifyDone(); 125 }); 126 }); 122 127 </script> 123 128 </body> -
trunk/LayoutTests/webgpu/whlsl-ensure-proper-variable-lifetime-2.html
r245945 r246390 142 142 const commandBuffer = commandEncoder.finish(); 143 143 device.getQueue().submit([commandBuffer]); 144 145 if (window.testRunner)146 testRunner.notifyDone();147 144 } 148 145 if (window.testRunner) 149 146 testRunner.waitUntilDone(); 150 window.addEventListener("load", start); 147 window.addEventListener("load", function() { 148 start().then(function() { 149 if (window.testRunner) 150 testRunner.notifyDone(); 151 }, function() { 152 if (window.testRunner) 153 testRunner.notifyDone(); 154 }); 155 }); 151 156 </script> 152 157 </body> -
trunk/LayoutTests/webgpu/whlsl-ensure-proper-variable-lifetime-3.html
r245945 r246390 143 143 const commandBuffer = commandEncoder.finish(); 144 144 device.getQueue().submit([commandBuffer]); 145 146 if (window.testRunner)147 testRunner.notifyDone();148 145 } 149 146 if (window.testRunner) 150 147 testRunner.waitUntilDone(); 151 window.addEventListener("load", start); 148 window.addEventListener("load", function() { 149 start().then(function() { 150 if (window.testRunner) 151 testRunner.notifyDone(); 152 }, function() { 153 if (window.testRunner) 154 testRunner.notifyDone(); 155 }); 156 }); 152 157 </script> 153 158 </body> -
trunk/LayoutTests/webgpu/whlsl-ensure-proper-variable-lifetime.html
r245945 r246390 142 142 const commandBuffer = commandEncoder.finish(); 143 143 device.getQueue().submit([commandBuffer]); 144 145 if (window.testRunner)146 testRunner.notifyDone();147 144 } 148 145 if (window.testRunner) 149 146 testRunner.waitUntilDone(); 150 window.addEventListener("load", start); 147 window.addEventListener("load", function() { 148 start().then(function() { 149 if (window.testRunner) 150 testRunner.notifyDone(); 151 }, function() { 152 if (window.testRunner) 153 testRunner.notifyDone(); 154 }); 155 }); 151 156 </script> 152 157 </body> -
trunk/LayoutTests/webgpu/whlsl-loops-break.html
r246121 r246390 123 123 const commandBuffer = commandEncoder.finish(); 124 124 device.getQueue().submit([commandBuffer]); 125 126 if (window.testRunner)127 testRunner.notifyDone();128 125 } 129 126 if (window.testRunner) 130 127 testRunner.waitUntilDone(); 131 window.addEventListener("load", start); 128 window.addEventListener("load", function() { 129 start().then(function() { 130 if (window.testRunner) 131 testRunner.notifyDone(); 132 }, function() { 133 if (window.testRunner) 134 testRunner.notifyDone(); 135 }); 136 }); 132 137 </script> 133 138 </body> -
trunk/LayoutTests/webgpu/whlsl-loops-continue.html
r246121 r246390 123 123 const commandBuffer = commandEncoder.finish(); 124 124 device.getQueue().submit([commandBuffer]); 125 126 if (window.testRunner)127 testRunner.notifyDone();128 125 } 129 126 if (window.testRunner) 130 127 testRunner.waitUntilDone(); 131 window.addEventListener("load", start); 128 window.addEventListener("load", function() { 129 start().then(function() { 130 if (window.testRunner) 131 testRunner.notifyDone(); 132 }, function() { 133 if (window.testRunner) 134 testRunner.notifyDone(); 135 }); 136 }); 132 137 </script> 133 138 </body> -
trunk/LayoutTests/webgpu/whlsl-loops.html
r246121 r246390 119 119 const commandBuffer = commandEncoder.finish(); 120 120 device.getQueue().submit([commandBuffer]); 121 122 if (window.testRunner)123 testRunner.notifyDone();124 121 } 125 122 if (window.testRunner) 126 123 testRunner.waitUntilDone(); 127 window.addEventListener("load", start); 124 window.addEventListener("load", function() { 125 start().then(function() { 126 if (window.testRunner) 127 testRunner.notifyDone(); 128 }, function() { 129 if (window.testRunner) 130 testRunner.notifyDone(); 131 }); 132 }); 128 133 </script> 129 134 </body> -
trunk/LayoutTests/webgpu/whlsl-nested-dot-expression-rvalue.html
r245905 r246390 127 127 const commandBuffer = commandEncoder.finish(); 128 128 device.getQueue().submit([commandBuffer]); 129 130 if (window.testRunner)131 testRunner.notifyDone();132 129 } 133 130 if (window.testRunner) 134 131 testRunner.waitUntilDone(); 135 window.addEventListener("load", start); 132 window.addEventListener("load", function() { 133 start().then(function() { 134 if (window.testRunner) 135 testRunner.notifyDone(); 136 }, function() { 137 if (window.testRunner) 138 testRunner.notifyDone(); 139 }); 140 }); 136 141 </script> 137 142 </body> -
trunk/LayoutTests/webgpu/whlsl-nested-loop.html
r246121 r246390 155 155 const commandBuffer = commandEncoder.finish(); 156 156 device.getQueue().submit([commandBuffer]); 157 158 if (window.testRunner)159 testRunner.notifyDone();160 157 } 161 158 if (window.testRunner) 162 159 testRunner.waitUntilDone(); 163 window.addEventListener("load", start); 160 window.addEventListener("load", function() { 161 start().then(function() { 162 if (window.testRunner) 163 testRunner.notifyDone(); 164 }, function() { 165 if (window.testRunner) 166 testRunner.notifyDone(); 167 }); 168 }); 164 169 </script> 165 170 </body> -
trunk/LayoutTests/webgpu/whlsl-return-local-variable.html
r245945 r246390 120 120 const commandBuffer = commandEncoder.finish(); 121 121 device.getQueue().submit([commandBuffer]); 122 123 if (window.testRunner)124 testRunner.notifyDone();125 122 } 126 123 if (window.testRunner) 127 124 testRunner.waitUntilDone(); 128 window.addEventListener("load", start); 125 window.addEventListener("load", function() { 126 start().then(function() { 127 if (window.testRunner) 128 testRunner.notifyDone(); 129 }, function() { 130 if (window.testRunner) 131 testRunner.notifyDone(); 132 }); 133 }); 129 134 </script> 130 135 </body> -
trunk/LayoutTests/webgpu/whlsl-store-to-property-updates-properly.html
r245973 r246390 135 135 const commandBuffer = commandEncoder.finish(); 136 136 device.getQueue().submit([commandBuffer]); 137 138 if (window.testRunner)139 testRunner.notifyDone();140 137 } 141 138 if (window.testRunner) 142 139 testRunner.waitUntilDone(); 143 window.addEventListener("load", start); 140 window.addEventListener("load", function() { 141 start().then(function() { 142 if (window.testRunner) 143 testRunner.notifyDone(); 144 }, function() { 145 if (window.testRunner) 146 testRunner.notifyDone(); 147 }); 148 }); 144 149 </script> 145 150 </body> -
trunk/LayoutTests/webgpu/whlsl-while-loop-break.html
r246121 r246390 125 125 const commandBuffer = commandEncoder.finish(); 126 126 device.getQueue().submit([commandBuffer]); 127 128 if (window.testRunner)129 testRunner.notifyDone();130 127 } 131 128 if (window.testRunner) 132 129 testRunner.waitUntilDone(); 133 window.addEventListener("load", start); 130 window.addEventListener("load", function() { 131 start().then(function() { 132 if (window.testRunner) 133 testRunner.notifyDone(); 134 }, function() { 135 if (window.testRunner) 136 testRunner.notifyDone(); 137 }); 138 }); 134 139 </script> 135 140 </body> -
trunk/LayoutTests/webgpu/whlsl-while-loop-continue.html
r246121 r246390 125 125 const commandBuffer = commandEncoder.finish(); 126 126 device.getQueue().submit([commandBuffer]); 127 128 if (window.testRunner)129 testRunner.notifyDone();130 127 } 131 128 if (window.testRunner) 132 129 testRunner.waitUntilDone(); 133 window.addEventListener("load", start); 130 window.addEventListener("load", function() { 131 start().then(function() { 132 if (window.testRunner) 133 testRunner.notifyDone(); 134 }, function() { 135 if (window.testRunner) 136 testRunner.notifyDone(); 137 }); 138 }); 134 139 </script> 135 140 </body> -
trunk/LayoutTests/webgpu/whlsl-zero-initialize-values-2.html
r246273 r246390 141 141 const commandBuffer = commandEncoder.finish(); 142 142 device.getQueue().submit([commandBuffer]); 143 144 if (window.testRunner)145 testRunner.notifyDone();146 143 } 147 144 if (window.testRunner) 148 145 testRunner.waitUntilDone(); 149 window.addEventListener("load", start); 146 window.addEventListener("load", function() { 147 start().then(function() { 148 if (window.testRunner) 149 testRunner.notifyDone(); 150 }, function() { 151 if (window.testRunner) 152 testRunner.notifyDone(); 153 }); 154 }); 150 155 </script> 151 156 </body> -
trunk/LayoutTests/webgpu/whlsl-zero-initialize-values.html
r246273 r246390 124 124 const commandBuffer = commandEncoder.finish(); 125 125 device.getQueue().submit([commandBuffer]); 126 127 if (window.testRunner)128 testRunner.notifyDone();129 126 } 130 127 if (window.testRunner) 131 128 testRunner.waitUntilDone(); 132 window.addEventListener("load", start); 129 window.addEventListener("load", function() { 130 start().then(function() { 131 if (window.testRunner) 132 testRunner.notifyDone(); 133 }, function() { 134 if (window.testRunner) 135 testRunner.notifyDone(); 136 }); 137 }); 133 138 </script> 134 139 </body> -
trunk/LayoutTests/webgpu/whlsl.html
r245905 r246390 108 108 const commandBuffer = commandEncoder.finish(); 109 109 device.getQueue().submit([commandBuffer]); 110 111 if (window.testRunner)112 testRunner.notifyDone();113 110 } 114 111 if (window.testRunner) 115 112 testRunner.waitUntilDone(); 116 window.addEventListener("load", start); 113 window.addEventListener("load", function() { 114 start().then(function() { 115 if (window.testRunner) 116 testRunner.notifyDone(); 117 }, function() { 118 if (window.testRunner) 119 testRunner.notifyDone(); 120 }); 121 }); 117 122 </script> 118 123 </body>
Note:
See TracChangeset
for help on using the changeset viewer.