Commit 50afc5d
### Description
PR #26873 moved `enable_pix_capture` from `WebGpuContextConfig` to
`WebGpuExecutionProviderConfig` but didn't update
`webgpu_provider_factory.cc` to parse the config option into the correct
struct.
**Changes:**
- Move PIX capture config parsing from `ParseWebGpuContextConfig()` to
`ParseEpConfig()`
- Update logging to use the correct config struct
(`webgpu_ep_config.enable_pix_capture`)
### Motivation and Context
Build was failing with:
```
'enable_pix_capture': is not a member of 'onnxruntime::webgpu::WebGpuContextConfig'
```
This completes the refactoring in #26873 which makes the PIX frame
generator per-session instead of per-WebGpuContext.
<!-- START COPILOT CODING AGENT SUFFIX -->
<!-- START COPILOT ORIGINAL PROMPT -->
<details>
<summary>Original prompt</summary>
> Please help me to fix the build break for #26873.
</details>
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
---------
Co-authored-by: eserscor <erscor@microsoft.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: fs-eire <7679871+fs-eire@users.noreply.github.com>
1 parent 0c38d7c commit 50afc5d
File tree
2 files changed
+18
-15
lines changed- onnxruntime/core/providers/webgpu
2 files changed
+18
-15
lines changedLines changed: 13 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
83 | 95 | | |
84 | 96 | | |
85 | 97 | | |
| 98 | + | |
86 | 99 | | |
87 | 100 | | |
88 | 101 | | |
| |||
216 | 229 | | |
217 | 230 | | |
218 | 231 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | 239 | | |
241 | 240 | | |
242 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
300 | 304 | | |
301 | | - | |
| 305 | + | |
302 | 306 | | |
303 | 307 | | |
304 | 308 | | |
| |||
0 commit comments