MCPcopy Index your code
hub / github.com/gpujs/gpu.js / switchKernels

Method switchKernels

src/backend/gl/kernel.js:960–966  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

958 );
959 }
960 switchKernels(reason) {
961 if (this.switchingKernels) {
962 this.switchingKernels.push(reason);
963 } else {
964 this.switchingKernels = [reason];
965 }
966 }
967 getVariablePrecisionString(textureSize = this.texSize, tactic = this.tactic, isInt = false) {
968 if (!tactic) {
969 if (!this.constructor.features.isSpeedTacticSupported) return 'highp';

Callers 2

setOutputMethod · 0.95
onUpdateValueMismatchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected