Skip to content

Commit

Permalink
Add wgslLanguageFeatures support
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois authored and greggman committed Dec 22, 2023
1 parent 2d35cea commit ae9e00a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,8 @@ async function checkMisc({haveFallback}) {
if (!haveFallback) {
obj['fallback adapter'] = 'not supported';
}
const wgslLanguageFeatures = navigator.gpu.wgslLanguageFeatures || [];
obj.wgslLanguageFeatures = [...wgslLanguageFeatures].join(', ');

appendElem(body, 'table', { className: 'misc' }, [
el('tbody', {}, mapLikeToTableRows(obj)),
Expand Down

0 comments on commit ae9e00a

Please sign in to comment.