Skip to content

Releases: gpujs/gpu.js

v2 release candidate 16

20 Jun 14:12
Compare
Choose a tag to compare
Pre-release
  • Allow for arrow functions as kernels
  • Deep types where the argument contains a function call, and test
  • Only set argument type if it isn't already set
  • Add Sponsorship from browser-stack

v2 release candidate 15

17 Jun 22:03
Compare
Choose a tag to compare
Pre-release
  • Add new cat demo
  • Deep type checking using FunctionTracer
  • Type check even on CPU
  • ArrayTexture support as arguments for internal arrays
  • Typo from "Interger" to "Integer"

v2 release candidate 14

03 Jun 23:41
5726368
Compare
Choose a tag to compare
Pre-release
  • .toString() now supports subKernels, and pretty much every feature we can think to throw at it
  • Proper fallback support for HTMLImageArrays in WebGL
  • Upgrade to latest HeadlessGL
  • Start of implementing bitwise operators, though very low precision
  • Implement new float encoder when using unsigned precision
  • Breakup of argument and constant handlers into unified class called KernelValue
  • RawOutput feature
  • Pixel flipping for kernel.getPixels()
  • Dynamic recompiling
  • Breakup of texture handlers into separate classes, so no duck typing
  • Handle textures in CPUKernal
  • Allow for canvas resizing

Housecleaning for v2.

v2 release candidate 13

29 Apr 12:49
Compare
Choose a tag to compare
Pre-release
  • Add boolean support to variables, arguments, and constants
  • Fix implied else return in CPU
  • Cleanup CPU kernel's spacing and reduce usage of .apply(this)
  • Documentation cleanup

v2 release candidate 12

27 Apr 02:09
Compare
Choose a tag to compare
Pre-release
  • feat getPixels method and tests
  • fix Add tests for graphical rendering
  • fix removal of 1d and 3d graphical outputs, they don't make sense
  • fix Reference of 2 in 2d output in CPU kernel

v2 release candidate 9

24 Apr 11:51
Compare
Choose a tag to compare
Pre-release

fix: Check getExtension is truthy before calling and unit tests
fix: Add missing test for headlessgl to all.html

v2 release candidate 8

24 Apr 02:07
Compare
Choose a tag to compare
Pre-release
  • fix: Move varWarn to and unit test that all FunctionNode's use it
  • fix: Test that getExtension is set to be able to use on TravisCI
  • fix: Remove wraparound, is no longer being used anywhere
  • fix: add getMemoryOptimizedPackedTextureSize to string kernel
  • fix: Remove console.log() usage
  • fix: Move addFunction functionality into new utils method functionToIFunction
  • fix: Fix mergeSettings to use functions settings and use functionToIFunction
  • fix: Remove the spread operator for now, for compatibility with safari
  • fix: Add typings for setFunctions
  • fix: Failing unit tests for sarafi
  • feat: Add CONTRIBUTING.md
  • feat: Add ISSUE_TEMPLATE.md
  • fix: Remove typescript from dependencies
  • fix: Document, document, document
  • fix: Bump version and build

v2 release candidate 7

21 Apr 16:11
Compare
Choose a tag to compare
Pre-release
  • Stabilizing array returning support
  • Optimizes 8 bit array (like Uint8Array) and 16 bit array (like Uint16Array) sizes for when using precision: 'single'
  • Add deprecation support for old setting names
  • Tons of testing

v2 release candidate 4

18 Mar 02:24
Compare
Choose a tag to compare
Pre-release
  • Greater than, less than evaluation when comparing an integer with a literal that is a float, try not to cast left, but rather cast left to right
  • Constants that do not have a type defined should fail
  • Don't prevent "random" as a native function name
  • Allow Texture constructor to inherit instance of GPU for easy .toArray()
  • Texture constructor as settings object for easier understanding of order input
  • Typescript corrections for Texture
  • Bump headless-gl version to that of Multiple Render Targets

v2 release candidate 3

13 Mar 16:58
Compare
Choose a tag to compare
Pre-release

Features:

  • GLSL Native Function argument type detection and casting
  • GLSL Native Function return value type detection and casting

Fixes:

  • When returning a LiteralNumber, for it to correctly pick a return type

Community fixed: