@luma.gl/webgl
Advanced tools
Comparing version 9.0.9 to 9.0.10
@@ -46,2 +46,3 @@ import type { RenderPipelineProps, RenderPipelineParameters, PrimitiveTopology } from '@luma.gl/core'; | ||
vertexArray: VertexArray; | ||
isInstanced?: boolean; | ||
vertexCount?: number; | ||
@@ -48,0 +49,0 @@ indexCount?: number; |
@@ -133,3 +133,3 @@ // luma.gl | ||
// indexCount, | ||
instanceCount, firstVertex = 0, | ||
instanceCount, isInstanced = false, firstVertex = 0, | ||
// firstIndex, | ||
@@ -142,3 +142,3 @@ // firstInstance, | ||
const glIndexType = vertexArray.indexBuffer?.glIndexType; | ||
const isInstanced = Number(instanceCount) > 0; | ||
// Note that we sometimes get called with 0 instances | ||
// If we are using async linking, we need to wait until linking completes | ||
@@ -242,3 +242,3 @@ if (this.linkStatus !== 'success') { | ||
if (this.fs?.compilationStatus === 'error') { | ||
this.vs.debugShader(); | ||
this.fs.debugShader(); | ||
throw new Error(`Error during compilation of shader ${this.fs.id}`); | ||
@@ -245,0 +245,0 @@ } |
{ | ||
"name": "@luma.gl/webgl", | ||
"version": "9.0.9", | ||
"version": "9.0.10", | ||
"description": "WebGL2 adapter for the luma.gl core API", | ||
@@ -46,6 +46,6 @@ "type": "module", | ||
"dependencies": { | ||
"@luma.gl/constants": "9.0.9", | ||
"@luma.gl/constants": "9.0.10", | ||
"@probe.gl/env": "^4.0.2" | ||
}, | ||
"gitHead": "1715a33d52c6d23227cd3f62e163a40ea9acec9e" | ||
"gitHead": "aa5e354fd9502a84e43c9e312ad33d9c155fed01" | ||
} |
@@ -172,2 +172,3 @@ // luma.gl | ||
vertexArray: VertexArray; | ||
isInstanced?: boolean; | ||
vertexCount?: number; | ||
@@ -190,2 +191,3 @@ indexCount?: number; | ||
instanceCount, | ||
isInstanced = false, | ||
firstVertex = 0, | ||
@@ -201,3 +203,3 @@ // firstIndex, | ||
const glIndexType = (vertexArray.indexBuffer as WEBGLBuffer)?.glIndexType; | ||
const isInstanced: boolean = Number(instanceCount) > 0; | ||
// Note that we sometimes get called with 0 instances | ||
@@ -334,3 +336,3 @@ // If we are using async linking, we need to wait until linking completes | ||
if (this.fs?.compilationStatus === 'error') { | ||
this.vs.debugShader(); | ||
this.fs.debugShader(); | ||
throw new Error(`Error during compilation of shader ${this.fs.id}`); | ||
@@ -337,0 +339,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1705899
29484
+ Added@luma.gl/constants@9.0.10(transitive)
- Removed@luma.gl/constants@9.0.9(transitive)
Updated@luma.gl/constants@9.0.10