We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eab626e commit 8321471Copy full SHA for 8321471
src/kernels/backend_webgl.ts
@@ -1840,7 +1840,7 @@ export class MathBackendWebGL implements KernelBackend {
1840
let texData = this.texData.get(input.dataId);
1841
1842
if (texData.texture == null) {
1843
- if (!(!texData.isPacked && program.usesPackedTextures) &&
+ if (!program.usesPackedTextures &&
1844
util.sizeFromShape(input.shape) <=
1845
ENV.get('WEBGL_SIZE_UPLOAD_UNIFORM')) {
1846
// Upload small tensors that live on the CPU as uniforms, not as
0 commit comments