mirror of
https://github.com/gpujs/gpu.js.git
synced 2026-01-18 16:04:10 +00:00
fix: Move `make` cli command to gulp so it runs in parallel fix: Add official support for `Array1D(2|3|4)`, `Array2D(2|3|4)`, and `Array3D(2|3|4)` and unit tests fix: Add offical support for `Array(2)`, `Array(3)`, and `Array(4)` and unit tests fix: Mandelbulb constant used a constant, so moved to appropriate location fix: Failing unit test for Safari fix: When not falling back in HeadlessGL, call `STACKGL_resize_drawingbuffer` fix: Remove `xyz` variable from glsl fix: Add `uniform4fv` and `uniform4iv` to WebGL implementation fix: Check for kernel settings `constantTypes` and `argumentTypes` fix: Inherit type from kernel in KernelValue constructors fix: Add some typescript details for `GPUVariableType`, `IKernelSettings`, and `ITypesList` fix: Add support for 4d array in `utils.getMemoryOptimizedFloatTextureSize` for the special use case of `Array3D(2|3|4)` fix: Add `utils.flatten4dArrayTo` for the special use case of `Array3D(2|3|4)` fix: Add support for 4d array in `utils.flattenTo` fix: Bump and build
40 lines
1.0 KiB
HTML
40 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>GPU.JS : Test All</title>
|
|
<link rel="stylesheet" href="../node_modules/qunit/qunit/qunit.css">
|
|
|
|
<script src="browser-test-utils.js"></script>
|
|
<!-- gpu.js scripts -->
|
|
<script src="../dist/gpu-browser.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture"></div>
|
|
<script>
|
|
const isBrowser = true;
|
|
const browserGPU = { GPU };
|
|
for (const p in GPU) {
|
|
if (p === 'GPU') continue;
|
|
browserGPU[p] = GPU[p];
|
|
}
|
|
window.process = {
|
|
cwd: () => {
|
|
return '../..';
|
|
}
|
|
};
|
|
window.require = (module) => {
|
|
if (module.match(/[.][.]\/src$/)) return browserGPU;
|
|
if (module === 'sinon') return sinon;
|
|
if (module === 'qunit') return QUnit;
|
|
if (module.match(/[.][.]\/browser-test-utils$/)) return browserTestUtils;
|
|
throw new Error('cannot find ' + module);
|
|
};
|
|
</script>
|
|
<script src="../node_modules/sinon/pkg/sinon.js"></script>
|
|
<script src="../node_modules/qunit/qunit/qunit.js"></script>
|
|
{{test-files}}
|
|
</body>
|
|
</html>
|