Skip to content

Commit

Permalink
fix: Merge master in, bump, and build
Browse files Browse the repository at this point in the history
  • Loading branch information
robertleeplummerjr committed Aug 25, 2020
2 parents bee7178 + c27ed9b commit c09e0b6
Show file tree
Hide file tree
Showing 8 changed files with 209 additions and 122 deletions.
24 changes: 17 additions & 7 deletions dist/gpu-browser-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*
* GPU Accelerated JavaScript
*
* @version 2.9.3
* @date Mon Aug 24 2020 13:12:42 GMT-0400 (Eastern Daylight Time)
* @version 2.10.0
* @date Tue Aug 25 2020 14:05:30 GMT-0400 (Eastern Daylight Time)
*
* @license MIT
* The MIT License
Expand Down Expand Up @@ -1206,7 +1206,6 @@ class CPUFunctionNode extends FunctionNode {
module.exports = {
CPUFunctionNode
};

},{"../function-node":9}],6:[function(require,module,exports){
const { utils } = require('../../utils');

Expand Down Expand Up @@ -4039,8 +4038,21 @@ class FunctionTracer {
}

getDeclaration(name) {
const { currentContext, currentFunctionContext } = this;
return currentContext[name] || currentFunctionContext[name] || null;
const { currentContext, currentFunctionContext, runningContexts } = this;
const declaration = currentContext[name] || currentFunctionContext[name] || null;

if (
!declaration &&
currentContext === currentFunctionContext &&
runningContexts.length > 0
) {
const previousRunningContext = runningContexts[runningContexts.length - 2];
if (previousRunningContext[name]) {
return previousRunningContext[name];
}
}

return declaration;
}

scan(ast) {
Expand Down Expand Up @@ -4578,7 +4590,6 @@ function findKernelValue(argument, kernelValues, values, context, uploadedValues
module.exports = {
glKernelString
};

},{"../../utils":113,"gl-wiretap":2}],12:[function(require,module,exports){
const { Kernel } = require('../kernel');
const { utils } = require('../../utils');
Expand Down Expand Up @@ -15068,6 +15079,5 @@ const _systemEndianness = utils.getSystemEndianness();
module.exports = {
utils
};

},{"./input":109,"./texture":112,"acorn":1}]},{},[106])(106)
});
6 changes: 3 additions & 3 deletions dist/gpu-browser-core.min.js

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions dist/gpu-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*
* GPU Accelerated JavaScript
*
* @version 2.9.3
* @date Mon Aug 24 2020 13:12:42 GMT-0400 (Eastern Daylight Time)
* @version 2.10.0
* @date Tue Aug 25 2020 14:05:30 GMT-0400 (Eastern Daylight Time)
*
* @license MIT
* The MIT License
Expand Down Expand Up @@ -5815,7 +5815,6 @@ class CPUFunctionNode extends FunctionNode {
module.exports = {
CPUFunctionNode
};

},{"../function-node":10}],7:[function(require,module,exports){
const { utils } = require('../../utils');

Expand Down Expand Up @@ -8648,8 +8647,21 @@ class FunctionTracer {
}

getDeclaration(name) {
const { currentContext, currentFunctionContext } = this;
return currentContext[name] || currentFunctionContext[name] || null;
const { currentContext, currentFunctionContext, runningContexts } = this;
const declaration = currentContext[name] || currentFunctionContext[name] || null;

if (
!declaration &&
currentContext === currentFunctionContext &&
runningContexts.length > 0
) {
const previousRunningContext = runningContexts[runningContexts.length - 2];
if (previousRunningContext[name]) {
return previousRunningContext[name];
}
}

return declaration;
}

scan(ast) {
Expand Down Expand Up @@ -9187,7 +9199,6 @@ function findKernelValue(argument, kernelValues, values, context, uploadedValues
module.exports = {
glKernelString
};

},{"../../utils":114,"gl-wiretap":3}],13:[function(require,module,exports){
const { Kernel } = require('../kernel');
const { utils } = require('../../utils');
Expand Down Expand Up @@ -19677,6 +19688,5 @@ const _systemEndianness = utils.getSystemEndianness();
module.exports = {
utils
};

},{"./input":110,"./texture":113,"acorn":1}]},{},[107])(107)
});
6 changes: 3 additions & 3 deletions dist/gpu-browser.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit c09e0b6

Please sign in to comment.