diff_draws
Identify differences in resolved pipeline, bind groups, and bindings between two draw commands to pinpoint why one draw renders correctly and another does not.
Instructions
Structurally diff the resolved state (pipeline, bind groups, vertex/index bindings, draw params) of two draw commands — useful when a working draw and a broken draw share a pipeline and the difference must be in bound resources.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cmdA": "<cmdA>",
"cmdB": "<cmdB>"
},
"name": "diff_draws"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmdA | Yes | Command index of the first draw. | |
| cmdB | Yes | Command index of the second draw. | |
| captureId | No | Capture id (default: most recent). |