- From: Takahiro Aoyagi <taoyagi@mozilla.com>
- Date: Wed, 13 Oct 2021 18:01:58 -0700
- To: Ken Russell <kbr@google.com>
- Cc: Wayne Langman <eberus.blackcrowned@gmail.com>, Corentin Wallez <cwallez@google.com>, public-gpu <public-gpu@w3.org>
- Message-ID: <CANCJC7E60QJoaN=tLymB82R1nEVHFeo7X9Ym55_fH-F60MogAg@mail.gmail.com>
Hi all, Thanks for the feedback! - I added the origin trial so it works even on regular Chromes now - I added auto compilation support. You no longer need to click the compile button. https://github.com/takahirox/online-wgsl-editor Thanks Takahiro Aoyagi On Tue, Oct 12, 2021 at 5:23 PM Ken Russell <kbr@google.com> wrote: > It would be great to demo this at the next meetup! Takahiro, great work, > and I'll connect you with the organizers separately. > > -Ken > > > > On Tue, Oct 12, 2021 at 9:53 AM Wayne Langman < > eberus.blackcrowned@gmail.com> wrote: > >> Very cool! >> >> Perhaps this is something worth sharing in the WebGL + WebGPU meetup >> today (or the next one)? >> >> On Tue, Oct 12, 2021 at 3:34 PM Corentin Wallez <cwallez@google.com> >> wrote: >> >>> Aaand I just realized that in the tweet you pointed out that you can see >>> the error message in the tooltip. nvm :) >>> >>> On Tue, Oct 12, 2021 at 3:32 PM Corentin Wallez <cwallez@google.com> >>> wrote: >>> >>>> Thanks for sharing, it looks great! >>>> >>>> A couple comments if you don't mind: >>>> >>>> - You could add a key for Chromium's WebGPU Origin Trial >>>> <https://web.dev/gpu/> so that most people using Chromium can visit >>>> your site and have WebGPU working. >>>> - When there is an error, the lines with errors get highlights but >>>> we don't get the error message from the compiler? >>>> >>>> I've personally been writing a bunch of WGSL lately and we're missing a >>>> good code editor at the moment. I keep re-running my program just to find >>>> that I missed a "u" suffix on some literal or another small error. Having >>>> realtime compilation checks like in your sandbox (maybe without the >>>> "compile" button) would make the experience much better! >>>> >>>> Corentin >>>> >>>> On Tue, Oct 12, 2021 at 3:36 AM Takahiro Aoyagi <taoyagi@mozilla.com> >>>> wrote: >>>> >>>>> Hi all, >>>>> >>>>> I made a tiny online WGSL editor. You can test WGSL on your web >>>>> browsers. >>>>> >>>>> Demo and source: https://github.com/takahirox/online-wgsl-editor >>>>> Video: https://twitter.com/superhoge/status/1447094735110213634 >>>>> >>>>> I made it because it would help people who want to learn WGSL. >>>>> Actually writing the shader code will help them understand the WGSL >>>>> specification. >>>>> >>>>> I would be happy if you share it with your friends who are interested >>>>> in WGSL. >>>>> And feedback and contribution is very welcome. >>>>> >>>>> Thanks >>>>> >>>>> Takahiro Aoyagi >>>>> >>>>> > > -- > I support flexible work schedules, and I’m sending this email now because > it is within the hours I’m working today. Please do not feel obliged to > reply straight away - I understand that you will reply during the hours you > work, which may not match mine. (credit: jparent@) > >
Received on Thursday, 14 October 2021 01:02:23 UTC