Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into no-adapter-reuse
  • Loading branch information
kainino0x committed Apr 13, 2021
commit fe761184d635c200577406e5d09de104bc070051
9 changes: 9 additions & 0 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1305,6 +1305,15 @@ again is always necessary before calling {{GPUAdapter/requestDevice()}}.
Issue: Update here if an `adaptersadded`/`adapterschanged` event is introduced.
</div>

<div class="example">
Request a {{GPUAdapter}}:
<pre highlight="js">
const adapter = await navigator.gpu.requestAdapter(/* ... */);
const features = adapter.features;
// ...
</pre>
</div>

### Adapter Selection ### {#adapter-selection}

<dfn dictionary>GPURequestAdapterOptions</dfn>
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.