@luma.gl/webgl 9.0.9 → 9.0.11
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/dist/adapter/resources/webgl-render-pipeline.d.ts +1 -0
- package/dist/adapter/resources/webgl-render-pipeline.d.ts.map +1 -1
- package/dist/adapter/resources/webgl-render-pipeline.js +3 -3
- package/dist/dist.dev.js +27 -19
- package/dist/dist.min.js +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +2 -2
- package/package.json +3 -3
- package/src/adapter/resources/webgl-render-pipeline.ts +4 -2
- package/LICENSE +0 -34
- package/src/.DS_Store +0 -0
- package/src/adapter/.DS_Store +0 -0
- package/src/context/.DS_Store +0 -0
package/dist/index.cjs
CHANGED
|
@@ -3945,6 +3945,7 @@ var WEBGLRenderPipeline = class extends import_core17.RenderPipeline {
|
|
|
3945
3945
|
vertexCount,
|
|
3946
3946
|
// indexCount,
|
|
3947
3947
|
instanceCount,
|
|
3948
|
+
isInstanced = false,
|
|
3948
3949
|
firstVertex = 0,
|
|
3949
3950
|
// firstIndex,
|
|
3950
3951
|
// firstInstance,
|
|
@@ -3954,7 +3955,6 @@ var WEBGLRenderPipeline = class extends import_core17.RenderPipeline {
|
|
|
3954
3955
|
const glDrawMode = getGLDrawMode(topology);
|
|
3955
3956
|
const isIndexed = Boolean(vertexArray.indexBuffer);
|
|
3956
3957
|
const glIndexType = (_a = vertexArray.indexBuffer) == null ? void 0 : _a.glIndexType;
|
|
3957
|
-
const isInstanced = Number(instanceCount) > 0;
|
|
3958
3958
|
if (this.linkStatus !== "success") {
|
|
3959
3959
|
import_core17.log.info(2, `RenderPipeline:${this.id}.draw() aborted - waiting for shader linking`)();
|
|
3960
3960
|
return false;
|
|
@@ -4042,7 +4042,7 @@ var WEBGLRenderPipeline = class extends import_core17.RenderPipeline {
|
|
|
4042
4042
|
throw new Error(`Error during compilation of shader ${this.vs.id}`);
|
|
4043
4043
|
}
|
|
4044
4044
|
if (((_a = this.fs) == null ? void 0 : _a.compilationStatus) === "error") {
|
|
4045
|
-
this.
|
|
4045
|
+
this.fs.debugShader();
|
|
4046
4046
|
throw new Error(`Error during compilation of shader ${this.fs.id}`);
|
|
4047
4047
|
}
|
|
4048
4048
|
throw new Error(`Error during ${status}: ${this.device.gl.getProgramInfoLog(this.handle)}`);
|