Skip to content

Commit b60e571

Browse files
fix: 8 and 16 bit packing when using single precision float
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
1 parent 8a95c54 commit b60e571

26 files changed

+2515
-1747
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Settings are an object used to create a `kernel` or `kernelMap`. Example: `gpu.
109109
* constants: object
110110
* wraparound: boolean
111111
* hardcodeConstants: boolean
112-
* floatTextures: boolean - input/working textures use float32 for each colour channel
112+
* optimizeFloatMemory: boolean - causes a float32 texture to use all 4 channels rather than 1, using less memory, but consuming more GPU.
113113
* precision: 'single' or 'unsigned' - if 'single' output texture uses float32 for each colour channel rather than 8
114114
* 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.
115115
* functions: array or object

0 commit comments

Comments
 (0)