diff options
Diffstat (limited to 'testing/web-platform/mozilla/tests/webgpu/external/petamoriken/float16/float16.d.js')
-rw-r--r-- | testing/web-platform/mozilla/tests/webgpu/external/petamoriken/float16/float16.d.js | 470 |
1 files changed, 470 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/webgpu/external/petamoriken/float16/float16.d.js b/testing/web-platform/mozilla/tests/webgpu/external/petamoriken/float16/float16.d.js new file mode 100644 index 0000000000..138c3378a5 --- /dev/null +++ b/testing/web-platform/mozilla/tests/webgpu/external/petamoriken/float16/float16.d.js @@ -0,0 +1,470 @@ +/** +* AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts +**/ /** + * A typed array of 16-bit float values. The contents are initialized to 0. If the requested number + * of bytes could not be allocated an exception is raised. + */ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +/** + * Returns `true` if the value is a Float16Array instance. + * @since v3.4.0 + */ + + +/** + * Returns `true` if the value is a type of TypedArray instance that contains Float16Array. + * @since v3.6.0 + */ + + + + + + + + + + + + + + + + +/** + * Gets the Float16 value at the specified byte offset from the start of the view. There is + * no alignment constraint; multi-byte values may be fetched from any offset. + * @param byteOffset The place in the buffer at which the value should be retrieved. + * @param littleEndian If false or undefined, a big-endian value should be read, + * otherwise a little-endian value should be read. + */ + + + + + + +/** + * Stores an Float16 value at the specified byte offset from the start of the view. + * @param byteOffset The place in the buffer at which the value should be set. + * @param value The value to set. + * @param littleEndian If false or undefined, a big-endian value should be written, + * otherwise a little-endian value should be written. + */ + + + + + + + +/** + * Returns the nearest half-precision float representation of a number. + * @param x A numeric expression. + */export {};
\ No newline at end of file |