Skip to content

Commit

Permalink
fix(webgl): Reduce console flood
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen committed Mar 12, 2024
1 parent 8a27179 commit b7ed635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/webgl/src/adapter/resources/webgl-render-pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ export class WEBGLRenderPipeline extends RenderPipeline {

this._linkShaders();

log.time(0, `RenderPipeline ${this.id} - shaderLayout introspection`)();
log.time(1, `RenderPipeline ${this.id} - shaderLayout introspection`)();
this.introspectedLayout = getShaderLayout(this.device.gl, this.handle);
log.timeEnd(0, `RenderPipeline ${this.id} - shaderLayout introspection`)();
log.timeEnd(1, `RenderPipeline ${this.id} - shaderLayout introspection`)();

// Merge provided layout with introspected layout
this.shaderLayout = mergeShaderLayout(this.introspectedLayout, props.shaderLayout);
Expand Down

0 comments on commit b7ed635

Please sign in to comment.