Commit 45a8dab
dawn: add dawn::Platform hook for querying feature flags
And use it to query "WebGPUUseDXC". This is important because the moment
the feature flag is queried in Chrome is when the user is made part of
the study. Since we normally want only users using WebGPU to be in the
study, we need this query to happen from within Dawn.
Bug: chromium:1474897
Change-Id: I2adad2b3a256fad5c51080b80b348c0ffd5a914d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/153181
Kokoro: Kokoro <[email protected]>
Commit-Queue: Antonio Maiorano <[email protected]>
Reviewed-by: Corentin Wallez <[email protected]>1 parent dc5ac88 commit 45a8dab
File tree
3 files changed
+26
-1
lines changed- include/dawn/platform
- src/dawn
- native/d3d12
- platform
3 files changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
126 | 135 | | |
127 | 136 | | |
128 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
489 | 490 | | |
490 | 491 | | |
491 | 492 | | |
492 | | - | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
493 | 497 | | |
494 | 498 | | |
495 | 499 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
82 | 94 | | |
0 commit comments