Skip to content

Commit

Permalink
Merge pull request #267 from BabylonJS/Fix
Browse files Browse the repository at this point in the history
Fix #253 Multridraw spy
  • Loading branch information
sebavan authored Jun 26, 2023
2 parents 131d7ab + f9a1f80 commit 35385a5
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 51 deletions.
34 changes: 17 additions & 17 deletions dist/spector.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions documentation/changeLogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Please, find below the per release summary of the contribution added to the proj
* Fix [Scissor function call](https://github.com/BabylonJS/Spector.js/issues/266)
* Fix [bufferSubData and getAttribLocation number report](https://github.com/BabylonJS/Spector.js/issues/262)
* Fix [Dataview representation](https://github.com/BabylonJS/Spector.js/issues/263)
* Fix [Multidraw spy](https://github.com/BabylonJS/Spector.js/issues/253)

## v0.9.29
* Add [WebXR tracking capabilities](https://github.com/BabylonJS/Spector.js/pull/257)
Expand Down
34 changes: 17 additions & 17 deletions extensions/spector.bundle.func.js

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions extensions/spector.bundle.js

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions src/backend/spies/commandSpy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ import { GetParameter } from "../commands/getParameter";
import { GetShaderPrecisionFormat } from "../commands/getShaderPrecisionFormat";
import { GetTransformFeedbackVarying } from "../commands/getTransformFeedbackVarying";
import { MultiDrawArraysInstancedBaseInstanceWEBGL } from "../commands/MultiDrawArraysInstancedBaseInstanceWEBGL";
import { MultiDrawArraysInstancedWEBGL } from "../commands/MultiDrawArraysInstancedWEBGL";
import { MultiDrawArraysWEBGL } from "../commands/MultiDrawArraysWEBGL";
import { MultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL } from "../commands/MultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL";
import { MultiDrawElementsInstancedWEBGL } from "../commands/MultiDrawElementsInstancedWEBGL";
import { MultiDrawElementsWEBGL } from "../commands/MultiDrawElementsWEBGL";

import { Scissor } from "../commands/scissor";
import { StencilMask } from "../commands/stencilMask";
import { StencilMaskSeparate } from "../commands/stencilMaskSeparate";
Expand Down Expand Up @@ -151,7 +156,11 @@ export class CommandSpy {
[GetShaderPrecisionFormat.commandName]: (options: IContextInformation) => new GetShaderPrecisionFormat(options),
[GetTransformFeedbackVarying.commandName]: (options: IContextInformation) => new GetTransformFeedbackVarying(options),
[MultiDrawArraysInstancedBaseInstanceWEBGL.commandName]: (options: IContextInformation) => new MultiDrawArraysInstancedBaseInstanceWEBGL(options),
[MultiDrawArraysInstancedWEBGL.commandName]: (options: IContextInformation) => new MultiDrawArraysInstancedWEBGL(options),
[MultiDrawArraysWEBGL.commandName]: (options: IContextInformation) => new MultiDrawArraysWEBGL(options),
[MultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL.commandName]: (options: IContextInformation) => new MultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL(options),
[MultiDrawElementsInstancedWEBGL.commandName]: (options: IContextInformation) => new MultiDrawElementsInstancedWEBGL(options),
[MultiDrawElementsWEBGL.commandName]: (options: IContextInformation) => new MultiDrawElementsWEBGL(options),
[Scissor.commandName]: (options: IContextInformation) => new Scissor(options),
[StencilMask.commandName]: (options: IContextInformation) => new StencilMask(options),
[StencilMaskSeparate.commandName]: (options: IContextInformation) => new StencilMaskSeparate(options),
Expand Down

0 comments on commit 35385a5

Please sign in to comment.