Repository navigation
fix(core): honor Deck GPU debug option during device initialization - #10782
Conversation
a6cfed1 to
a9c3709
Compare
[Medium impact] The PR appears safe to merge; no actionable issues remain. Summary
The previous-review ancestry checks failed, so this review covered the full PR diff. No new actionable issues were found. Reviews (6) · Last reviewed commit: "fix(core): use one debug precedence for ..." · Reviewed by Greptile |
ibgreen
left a comment
There was a problem hiding this comment.
I reviewed the created-device path and the attached-WebGL-context path separately. In the webgl2Adapter.attach call, the new options forward debug: props.debug but do not apply props.deviceProps; that conflicts with the documented precedence and means the two attached-context cases in gpuDebugTestCases (device override off/on) cannot get their expected values. Please use the same effective debug value as the created-device path (while preserving the intended precedence) and verify both attached-context override cases before approval.
ibgreen
left a comment
There was a problem hiding this comment.
Approved. The created-device and attached-context paths now apply the documented deviceProps.debug precedence consistently, with regression coverage. CI passed.
8491f59 to
060bb96
Compare
Assisted-by: OpenAI Codex
Both device paths now apply deviceProps first and then set debug to deviceProps.debug ?? debug, so an explicit deviceProps.debug: undefined no longer clears Deck's debug option. Adds that case to the created and attached GPU debug tests. Co-Authored-By: Claude Opus 5.5 <[email protected]>
af2106f to
5290184
Compare
…10782) * fix(core): honor Deck debug option during device initialization * test(core): release GPU debug contexts after tests Assisted-by: OpenAI Codex * test(core): cover attached GPU debug settings safely * fix(core): use one debug precedence for created and attached devices Both device paths now apply deviceProps first and then set debug to deviceProps.debug ?? debug, so an explicit deviceProps.debug: undefined no longer clears Deck's debug option. Adds that case to the created and attached GPU debug tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit 3639622)
…10782) (#10932) * fix(core): honor Deck debug option during device initialization * test(core): release GPU debug contexts after tests Assisted-by: OpenAI Codex * test(core): cover attached GPU debug settings safely * fix(core): use one debug precedence for created and attached devices Both device paths now apply deviceProps first and then set debug to deviceProps.debug ?? debug, so an explicit deviceProps.debug: undefined no longer clears Deck's debug option. Adds that case to the created and attached GPU debug tests. --------- (cherry picked from commit 3639622) Co-authored-by: Charles Richardson <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
|
Released in deck.gl 9.4.1. Thanks @charlieforward9! |
Background
Deck.debugdoes not reach device initialization, so global GPU debugging can remain enabled during tile streaming.Change List
debugwhen creating or attaching devicesdeviceProps.debugprecedenceVerified:
yarn lint,yarn build, 38 Deck Chromium tests. Base of #10784.