@luma.gl/webgl 9.0.0-beta.8 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luma.gl/webgl",
3
- "version": "9.0.0-beta.8",
3
+ "version": "9.0.0",
4
4
  "description": "WebGL2 adapter for the luma.gl core API",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -43,8 +43,8 @@
43
43
  "@luma.gl/core": "^9.0.0-beta"
44
44
  },
45
45
  "dependencies": {
46
- "@luma.gl/constants": "9.0.0-beta.8",
46
+ "@luma.gl/constants": "9.0.0",
47
47
  "@probe.gl/env": "^4.0.2"
48
48
  },
49
- "gitHead": "b4ba7f35a5d0b5a09625c955d952cbbab9c1ad28"
49
+ "gitHead": "a87ee4e72dbfcb9e4786aa823b9ac516f0031723"
50
50
  }
@@ -72,9 +72,9 @@ export class WEBGLRenderPipeline extends RenderPipeline {
72
72
 
73
73
  this._linkShaders();
74
74
 
75
- log.time(0, `RenderPipeline ${this.id} - shaderLayout introspection`)();
75
+ log.time(1, `RenderPipeline ${this.id} - shaderLayout introspection`)();
76
76
  this.introspectedLayout = getShaderLayout(this.device.gl, this.handle);
77
- log.timeEnd(0, `RenderPipeline ${this.id} - shaderLayout introspection`)();
77
+ log.timeEnd(1, `RenderPipeline ${this.id} - shaderLayout introspection`)();
78
78
 
79
79
  // Merge provided layout with introspected layout
80
80
  this.shaderLayout = mergeShaderLayout(this.introspectedLayout, props.shaderLayout);
@@ -461,12 +461,12 @@ export class WEBGLRenderPipeline extends RenderPipeline {
461
461
  texture = value;
462
462
  } else if (
463
463
  value instanceof WEBGLFramebuffer &&
464
- value.colorAttachments[0] instanceof WEBGLTexture
464
+ value.colorAttachments[0] instanceof WEBGLTextureView
465
465
  ) {
466
466
  log.warn(
467
467
  'Passing framebuffer in texture binding may be deprecated. Use fbo.colorAttachments[0] instead'
468
468
  )();
469
- texture = value.colorAttachments[0];
469
+ texture = value.colorAttachments[0].texture;
470
470
  } else {
471
471
  throw new Error('No texture');
472
472
  }
package/src/.DS_Store DELETED
Binary file
Binary file
Binary file