MCPcopy Create free account
hub / github.com/gpujs/gpu.js / saveValue

Function saveValue

test/internal/recycling.js:303–305  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

301function testImmutableKernelMappedTexturesDoesNotLeak(precision, done, mode) {
302 const gpu = new GPU({ mode });
303 function saveValue(value) {
304 return value;
305 }
306 const toTextures = gpu.createKernelMap([saveValue],function(value1, value2) {
307 saveValue(value1[this.thread.x]);
308 return value2[this.thread.x];

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…