Skip to content

Commit

Permalink
fix: 8 and 16 bit packing when using single precision float
Browse files Browse the repository at this point in the history
fix: 2,3,4 array output render strategies
fix: Add deprecation handling
fix: Add addArgument and addConstant tests for webgl2
fix: remove floatTextures as a property
  • Loading branch information
robertleeplummerjr committed Apr 21, 2019
1 parent 8a95c54 commit b60e571
Show file tree
Hide file tree
Showing 26 changed files with 2,515 additions and 1,747 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Settings are an object used to create a `kernel` or `kernelMap`. Example: `gpu.
* constants: object
* wraparound: boolean
* hardcodeConstants: boolean
* floatTextures: boolean - input/working textures use float32 for each colour channel
* optimizeFloatMemory: boolean - causes a float32 texture to use all 4 channels rather than 1, using less memory, but consuming more GPU.
* precision: 'single' or 'unsigned' - if 'single' output texture uses float32 for each colour channel rather than 8
* fixIntegerDivisionAccuracy: boolean - some cards have accuracy issues dividing by factors of three and some other primes (most apple kit?). Default on for affected cards, disable if accuracy not required.
* functions: array or object
Expand Down
Loading

0 comments on commit b60e571

Please sign in to comment.