From ae9e00a22593d3a9c0a09c2d16116a9486fcfba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Beaufort?= Date: Fri, 22 Dec 2023 14:54:29 +0100 Subject: [PATCH] Add wgslLanguageFeatures support --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 3e3d0fc..7f5554e 100644 --- a/index.js +++ b/index.js @@ -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)),