REGRESSION: ( r246394 ) webgpu/whlsl-buffer-fragment.html and webgpu/whlsl-buffer...
[WebKit-https.git] / LayoutTests / webgpu / command-buffers.html
1 <!DOCTYPE html>
2 <html>
3 <script src="js/webgpu-functions.js"></script>
4 <script src="../resources/testharness.js"></script>
5 <script src="../resources/testharnessreport.js"></script>
6 <script>
7 promise_test(() => {
8     return getBasicDevice().then(function(device) {
9         const commandEncoder = device.createCommandEncoder();
10         assert_true(commandEncoder instanceof GPUCommandEncoder, "Successfully created GPUCommandEncoder.");
11     }, function() {
12     });
13 }, "Create a default GPUCommandEncoder.");
14
15 // FIXME: createCommandEncoder should take a GPUCommandEncoderDescriptor, which is currently an empty dictionary.
16 </script>
17 </html>